aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 19:29:02 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 19:29:02 -0400
commitc8a85d0e9f27c68239fc8459ebae67565e0cb5e0 (patch)
treeccb75334dea7dce45972a3b09d206b97e7fbb71f
parent01cdb3e0fdc9964f46381b0549aec839666ac5b5 (diff)
downloadqolab-c8a85d0e9f27c68239fc8459ebae67565e0cb5e0.tar.gz
qolab-c8a85d0e9f27c68239fc8459ebae67565e0cb5e0.zip
removed doubly defined function
-rw-r--r--tests/test_trace.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/test_trace.py b/tests/test_trace.py
index a08390a..e7d2cf1 100644
--- a/tests/test_trace.py
+++ b/tests/test_trace.py
@@ -75,21 +75,6 @@ def test_saving_gzip():
with tempfile.NamedTemporaryFile(delete=False) as fp:
fp.close()
- fname = fp.name + ".gz"
- assert not os.path.exists(fname)
-
- tr = loadTrace("tests/trace_test_data/xtrace1.dat")
- tr.save(fname, compressionmethod="gzip")
- trLoaded = loadTrace(fname)
- assert isItExpectedTrace(trLoaded)
- os.remove(fname)
-
-
-def test_saving_gzip():
- import tempfile
-
- with tempfile.NamedTemporaryFile(delete=False) as fp:
- fp.close()
fname = fp.name + ".bz"
assert not os.path.exists(fname)