Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NodeApp::make_empty has a problem with base_dir = None #277

Closed
Labels
@dmitry-lipetsk

Description

@dmitry-lipetsk

testgres/testgres/node.py

Lines 2377 to 2382 ind6be913

defmake_empty(
self,
base_dir=None,
port=None,
bin_dir=None):
real_base_dir=self.os_ops.build_path(self.test_path,base_dir)

NodeApp.make_empty fails when base_dir is None.

Exception has occurred: TypeErrorjoin() argument must be str, bytes, or os.PathLike object, not 'NoneType'  File "/home/linuxbrew/.linuxbrew/opt/python@3.13/lib/python3.13/posixpath.py", line 82, in join    b = os.fspath(b)TypeError: expected str, bytes or os.PathLike object, not NoneTypeDuring handling of the above exception, another exception occurred:  File "/home/dima/MY/GitHub2/testgres/master/work02/testgres/operations/local_ops.py", line 257, in build_path    return os.path.join(a, *parts)           ~~~~~~~~~~~~^^^^^^^^^^^  File "/home/dima/MY/GitHub2/testgres/master/work02/testgres/node_app.py", line 66, in make_empty    real_base_dir = self._os_ops.build_path(self._test_path, base_dir)  File "/home/dima/MY/GitHub2/testgres/master/work02/testgres/node_app.py", line 95, in make_simple    node = self.make_empty(  File "/home/dima/MY/GitHub2/testgres/master/work02/tests/test_testgres_common.py", line 1599, in test_node_app__make_simple__checksum    with app.make_simple(checksum=False):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp