File: six.patch

package info (click to toggle)
python-gtfparse 1.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 244 kB
  • sloc: python: 583; makefile: 12; sh: 8
file content (28 lines) | stat: -rw-r--r-- 925 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/test/test_create_missing_features.py
+++ b/test/test_create_missing_features.py
@@ -1,5 +1,5 @@
 from gtfparse import create_missing_features, parse_gtf_and_expand_attributes
-from six import StringIO
+from io import StringIO
 
 # two lines from the Ensembl 54 human GTF containing only a stop_codon and
 # exon features, but from which gene and transcript information could be
--- a/test/test_multiple_values_for_tag_attribute.py
+++ b/test/test_multiple_values_for_tag_attribute.py
@@ -1,4 +1,4 @@
-from six import StringIO
+from io import StringIO
 from gtfparse import parse_gtf_and_expand_attributes
 
 # failing example from https://github.com/openvax/gtfparse/issues/2
--- a/test/test_parse_gtf_lines.py
+++ b/test/test_parse_gtf_lines.py
@@ -5,7 +5,7 @@
     REQUIRED_COLUMNS,
     ParsingError
 )
-from six import StringIO
+from io import StringIO
 from pytest import raises as assert_raises
 
 gtf_text = """