Skip to content

Commit caff10d

Browse files
committed
fixed test cleanup, some cleanup of commented lines
1 parent 19adadf commit caff10d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

nixio/test/test_doc_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def setUp(self):
5555
def tearDown(self):
5656
plt.close("all")
5757
plt.ioff()
58-
if Path.exists(Path("TEST_IMAGE")):
58+
if Path.exists(Path(TEST_IMAGE)):
5959
Path.unlink(Path(TEST_IMAGE), True)
6060

6161
def test_annotations(self):

nixio/util/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def time_to_str(time):
9797
:return: string in the form "YYYYMMDDTHHMMSS", where T is the date-time separator
9898
:rtype: str
9999
"""
100-
# dt = datetime.utcfromtimestamp(time)
101100
dt = datetime.fromtimestamp(time, timezone.utc)
102101
return dt.strftime("%Y%m%dT%H%M%S").encode("utf-8")
103102

0 commit comments

Comments
 (0)