From f9511664c89160bbb7bf2a157c49be95e471929e Mon Sep 17 00:00:00 2001 From: zhangliyong Date: Fri, 12 Sep 2014 14:28:41 +0700 Subject: [PATCH] Make flake8 happy :) --- rq/job.py | 1 - tests/test_job.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rq/job.py b/rq/job.py index 6979180..e8080f8 100644 --- a/rq/job.py +++ b/rq/job.py @@ -2,7 +2,6 @@ from __future__ import (absolute_import, division, print_function, unicode_literals) -import types import inspect import warnings from functools import partial diff --git a/tests/test_job.py b/tests/test_job.py index 78e41e2..28fad40 100644 --- a/tests/test_job.py +++ b/tests/test_job.py @@ -346,5 +346,5 @@ class TestJob(RQTestCase): job = queue.enqueue(say_hello, job_id="1234") self.assertEqual(job.id, "1234") job.perform() - + self.assertRaises(TypeError, queue.enqueue, say_hello, job_id=1234)