[pybliographer] tests: pyflakes



commit febcb5047b539f29333bbf70a6d36dc7c063c195
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Wed Mar 28 12:17:20 2018 -0300

    tests: pyflakes

 tests/format.py        |    4 +++-
 tests/import-export.py |    1 +
 tests/reorder.py       |    1 +
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tests/format.py b/tests/format.py
index 855a083..b570d49 100644
--- a/tests/format.py
+++ b/tests/format.py
@@ -1,6 +1,8 @@
+import sys
+
 from Pyblio import Fields, Autoload
+from Pyblio.Open import bibopen
 from Pyblio.Style import Utils
-import sys
 
 db   = bibopen (sys.argv [2])
 keys = db.keys ()
diff --git a/tests/import-export.py b/tests/import-export.py
index 37822fc..f4066b0 100644
--- a/tests/import-export.py
+++ b/tests/import-export.py
@@ -1,5 +1,6 @@
 import sys
 from Pyblio import Selection, Sort
+from Pyblio.Open import bibopen, bibwrite
 
 how = sys.argv [2]
 
diff --git a/tests/reorder.py b/tests/reorder.py
index 206937f..5a2570c 100755
--- a/tests/reorder.py
+++ b/tests/reorder.py
@@ -1,5 +1,6 @@
 import sys
 from Pyblio import Selection, Sort
+from Pyblio.Open import bibopen, bibwrite
 
 a = bibopen (sys.argv [2])
 f = open (sys.argv [3], 'w')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]