We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19adadf commit caff10dCopy full SHA for caff10d
nixio/test/test_doc_examples.py
@@ -55,7 +55,7 @@ def setUp(self):
55
def tearDown(self):
56
plt.close("all")
57
plt.ioff()
58
- if Path.exists(Path("TEST_IMAGE")):
+ if Path.exists(Path(TEST_IMAGE)):
59
Path.unlink(Path(TEST_IMAGE), True)
60
61
def test_annotations(self):
nixio/util/util.py
@@ -97,7 +97,6 @@ def time_to_str(time):
97
:return: string in the form "YYYYMMDDTHHMMSS", where T is the date-time separator
98
:rtype: str
99
"""
100
- # dt = datetime.utcfromtimestamp(time)
101
dt = datetime.fromtimestamp(time, timezone.utc)
102
return dt.strftime("%Y%m%dT%H%M%S").encode("utf-8")
103
0 commit comments