mirror of
https://github.com/echemdata/galvani.git
synced 2025-12-14 09:15:34 +00:00
Remove compability code for Python 2 subprocess module
This commit is contained in:
@@ -9,8 +9,8 @@ import pytest
|
||||
from galvani import res2sqlite
|
||||
|
||||
|
||||
# TODO - change to subprocess.DEVNULL when python 2 support is removed
|
||||
have_mdbtools = (subprocess.call(['which', 'mdb-export'], stdout=None) == 0)
|
||||
have_mdbtools = (subprocess.call(['which', 'mdb-export'],
|
||||
stdout=subprocess.DEVNULL) == 0)
|
||||
|
||||
|
||||
def test_res2sqlite_help():
|
||||
|
||||
Reference in New Issue
Block a user