From 100984dbe1234c453f10baa796af580baad0c8e4 Mon Sep 17 00:00:00 2001
From: bgeels <bgeels@usgs.gov>
Date: Tue, 22 Oct 2024 15:55:04 -0600
Subject: [PATCH] Remove test code

---
 geomagio/Util.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/geomagio/Util.py b/geomagio/Util.py
index e6b74ed9..69e6659e 100644
--- a/geomagio/Util.py
+++ b/geomagio/Util.py
@@ -279,6 +279,7 @@ def write_state_file(filename, data, directory=None, encoder=None):
                 print(
                     f"The fcntl module is not supported in Windows. Reading/writing state files will not work: {e}"
                 )
+                pass
             except IOError as e:
                 print(f"Error locking or writing to file: {e}")
                 raise
@@ -290,9 +291,6 @@ def write_state_file(filename, data, directory=None, encoder=None):
         raise
 
 
-write_state_file("testjunkfile", "dataaaaa", "/home/bgeels/")
-
-
 def read_state_file(filename, directory=None, decoder=None):
     """
     Reads data from a state file in a thread-safe manner.
-- 
GitLab