[pybliographer/wip/gtk3] tests: pyflakes



commit 5accb09fc6f33c05556b057b4018465244832fa8
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Tue Oct 10 15:00:36 2017 -0300

    tests: pyflakes

 tests/format.py        |    4 +++-
 tests/import-export.py |    2 ++
 tests/reorder.py       |    2 ++
 3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/tests/format.py b/tests/format.py
index 855a083..829bbe2 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..f05916c 100644
--- a/tests/import-export.py
+++ b/tests/import-export.py
@@ -1,5 +1,7 @@
 import sys
 from Pyblio import Selection, Sort
+from Pyblio.Open import bibwrite, bibopen
+
 
 how = sys.argv [2]
 
diff --git a/tests/reorder.py b/tests/reorder.py
index 206937f..45b5ab5 100755
--- a/tests/reorder.py
+++ b/tests/reorder.py
@@ -1,5 +1,7 @@
 import sys
 from Pyblio import Selection, Sort
+from Pyblio.Open import bibwrite, bibopen
+
 
 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]