Skip to content

Commit

Permalink
Fixed flake8 F403 errors in test_query_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
se7entyse7en committed Sep 9, 2015
1 parent deb7299 commit d6af01d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/utils/test_query_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import pytest
from six import PY3
from pydruid.utils.query_utils import *
from pydruid.utils import query_utils


def open_file(file_path):
Expand All @@ -25,15 +25,15 @@ class TestUnicodeWriter:
def test_writerow(self, tmpdir):
file_path = tmpdir.join("out.tsv")
f = open_file(str(file_path))
w = UnicodeWriter(f)
w = query_utils.UnicodeWriter(f)
w.writerow(['value1', '㬓'])
f.close()
assert file_path.read() == "value1\t㬓" + line_ending()

def test_writerows(self, tmpdir):
file_path = tmpdir.join("out.tsv")
f = open_file(str(file_path))
w = UnicodeWriter(f)
w = query_utils.UnicodeWriter(f)
w.writerows([
['header1', 'header2'],
['value1', '㬓']
Expand Down

0 comments on commit d6af01d

Please sign in to comment.