We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1343eba commit d0f02adCopy full SHA for d0f02ad
pr-checks/test_sync_back.py
@@ -5,18 +5,10 @@
5
6
import os
7
import shutil
8
-import sys
9
import tempfile
10
import unittest
11
12
-# Add the current directory to sys.path and import the sync_back module
13
-sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
14
-
15
-# Import the sync-back module
16
-import importlib.util
17
-spec = importlib.util.spec_from_file_location("sync_back", os.path.join(os.path.dirname(__file__), "sync_back.py"))
18
-sync_back = importlib.util.module_from_spec(spec)
19
-spec.loader.exec_module(sync_back)
+import sync_back
20
21
22
class TestSyncBack(unittest.TestCase):
0 commit comments