diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 98457ae..7bd46be 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,6 +1,6 @@ name: check on: - push: +# push: pull_request: concurrency: diff --git a/ShortSeq/tests/unit_tests_main.py b/ShortSeq/tests/unit_tests_main.py index 44f4ed6..614950f 100644 --- a/ShortSeq/tests/unit_tests_main.py +++ b/ShortSeq/tests/unit_tests_main.py @@ -1,7 +1,4 @@ import unittest -import time - -from pympler.asizeof import asizeof from ShortSeq import ShortSeq, ShortSeq64, ShortSeq128, ShortSeqVar from ShortSeq import MIN_VAR_NT, MAX_VAR_NT, MIN_64_NT, MAX_64_NT, MIN_128_NT, MAX_128_NT @@ -158,16 +155,6 @@ def test_slice(self): self.assertEqual(sq[i:], sample[i:]) self.assertEqual(sq[-i:], sample[-i:]) - def test_gzip_size_comparison(self): - sample = rand_sequence(MAX_64_NT, no_range=True) - import gzip - - gz_bytes = gzip.compress(sample.encode()) - print(asizeof(gz_bytes)) - print(asizeof(sample.encode())) - print(asizeof(ShortSeq.from_str(sample))) - - class ShortSeqVarTests(unittest.TestCase): """These tests address the variable length ShortSeq variant (ShortSeqVar)"""