Browse Source

remove unused imports (#1966)

pull/1894/merge
jcfp 4 years ago
committed by GitHub
parent
commit
68eded2c0c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sabnzbd/osxmenu.py
  2. 1
      tests/test_functional_adding_nzbs.py
  3. 2
      tests/test_functional_downloads.py
  4. 3
      tests/test_newsunpack.py

2
sabnzbd/osxmenu.py

@ -19,10 +19,8 @@
sabnzbd.osxmenu - macOS Top Menu sabnzbd.osxmenu - macOS Top Menu
""" """
import objc
from Foundation import * from Foundation import *
from AppKit import * from AppKit import *
from PyObjCTools import AppHelper
from objc import YES, NO from objc import YES, NO
import os import os

1
tests/test_functional_adding_nzbs.py

@ -26,7 +26,6 @@ import sys
from random import choice, randint, sample from random import choice, randint, sample
from string import ascii_lowercase, digits from string import ascii_lowercase, digits
import sabnzbd.config
from sabnzbd.constants import ( from sabnzbd.constants import (
DUP_PRIORITY, DUP_PRIORITY,
PAUSED_PRIORITY, PAUSED_PRIORITY,

2
tests/test_functional_downloads.py

@ -18,8 +18,6 @@
""" """
tests.test_functional_downloads - Test the downloading flow tests.test_functional_downloads - Test the downloading flow
""" """
import sys
import sabnzbd.filesystem as filesystem import sabnzbd.filesystem as filesystem
from tests.testhelper import * from tests.testhelper import *

3
tests/test_newsunpack.py

@ -18,9 +18,6 @@
""" """
tests.test_newsunpack - Tests of various functions in newspack tests.test_newsunpack - Tests of various functions in newspack
""" """
import pytest
from sabnzbd.newsunpack import * from sabnzbd.newsunpack import *

Loading…
Cancel
Save