#152531 Report by node gh-actions covering 2327 tests from 61 modules resulted into 622 errors
Report
- ObsPy version
- 1.4.2.post0+482.g509ef587ae
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/3651
- Report file
- JSON document
- Total runtime
- 128.5 sec
- Report date/time
- March 4, 2026, 7:06 a.m.
System / Python
- Architecture
- 64bit
- Machine
- arm64
- Node
- gh-actions
- Processor
- arm
- Python Compiler
- Clang 19.1.7
- Python Implementation
- CPython
- Python Version
- 3.11.14
- Release
- 24.6.0
- System
- Darwin
- Version
- Darwin Kernel Version 24.6.0: Mon Jan 19 22:02:01 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_ARM64_VMAPPLE
Dependencies
- cartopy
- 0.25.0
- decorator
- 5.2.1
- flake8
- ---
- geographiclib
- 2.1
- lxml
- 6.0.2
- matplotlib
- 3.10.8
- numpy
- 2.4.2
- obspy
- 1.4.2.post0+482.g509ef587ae
- pyproj
- 3.7.2
- pytest
- 9.0.2
- pytest-json-report
- 1.5.0
- requests
- 2.32.5
- scipy
- 1.17.1
- setuptools
- 82.0.0
- shapefile
- ---
- sqlalchemy
- 1.4.54
Modules (61)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.clients.earthworm | Not tested | - | - | - | - | - |
| obspy.clients.fdsn | 12 | 101 | 101 | - | 1.13s | 1 2 3 4 5 6 7 8 9 10 11 12 |
| obspy.clients.filesystem | 3 | 26 | 26 | - | 1.73s | 13 14 15 |
| obspy.clients.iris | Not tested | - | - | - | - | - |
| obspy.clients.neic | Not tested | - | - | - | - | - |
| obspy.clients.nrl | - | 16 | 16 | - | 1.19s | - |
| obspy.clients.seedlink | - | 2 | 2 | - | 0.00s | - |
| obspy.clients.syngine | Not tested | - | - | - | - | - |
| obspy.core | 156 | 691 | 690 | 1 | 29.07s | 16 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
| obspy.core.event | 7 | 18 | 18 | - | 0.06s | 17 18 19 20 21 22 23 |
| obspy.core.inventory | 7 | 24 | 24 | - | 1.10s | 24 25 26 27 28 29 30 |
| obspy.core.util | 2 | 23 | 20 | 3 | 0.25s | 186 187 |
| obspy.geodetics | 1 | 21 | 20 | 1 | 0.11s | 188 |
| obspy.imaging | 16 | 93 | 92 | 1 | 11.85s | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
| obspy.io.ah | 1 | 11 | 11 | - | 0.12s | 205 |
| obspy.io.alsep | 3 | 16 | 16 | - | 1.64s | 206 207 208 |
| obspy.io.arclink | 4 | 5 | 5 | - | 0.03s | 209 210 211 212 |
| obspy.io.ascii | 5 | 30 | 28 | 2 | 0.12s | 213 214 215 216 217 |
| obspy.io.cmtsolution | 9 | 10 | 10 | - | 0.02s | 218 219 220 221 222 223 224 225 226 |
| obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
| obspy.io.css | 2 | 10 | 10 | - | 0.29s | 227 228 |
| obspy.io.csv | 15 | 17 | 17 | - | 0.04s | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 |
| obspy.io.cybershake | 2 | 3 | 3 | - | 0.01s | 244 245 |
| obspy.io.dmx | 4 | 5 | 5 | - | 0.01s | 246 247 248 249 |
| obspy.io.focmec | 3 | 8 | 8 | - | 0.02s | 250 251 252 |
| obspy.io.gcf | 7 | 14 | 13 | 1 | 0.17s | 253 254 255 256 257 258 259 |
| obspy.io.gse2 | 23 | 55 | 55 | - | 0.30s | 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 |
| obspy.io.hypodd | 7 | 9 | 9 | - | 0.05s | 283 284 285 286 287 288 289 |
| obspy.io.iaspei | - | 7 | 7 | - | 0.80s | - |
| obspy.io.json | 1 | 4 | 4 | - | 0.02s | 290 |
| obspy.io.kinemetrics | 5 | 11 | 11 | - | 0.28s | 291 292 293 294 295 |
| obspy.io.kml | 2 | 3 | 3 | - | 0.09s | 296 297 |
| obspy.io.mseed | 59 | 128 | 128 | - | 3.32s | 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
| obspy.io.ndk | 14 | 20 | 20 | - | 0.05s | 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
| obspy.io.nied | 7 | 11 | 11 | - | 0.03s | 371 372 373 374 375 376 377 |
| obspy.io.nlloc | 4 | 16 | 16 | - | 0.22s | 378 379 380 381 |
| obspy.io.nordic | 20 | 61 | 59 | 2 | 1.35s | 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 |
| obspy.io.pdas | 1 | 3 | 3 | - | 0.01s | 402 |
| obspy.io.pde | 2 | 13 | 12 | 1 | 0.89s | 403 404 |
| obspy.io.quakeml | 9 | 38 | 37 | 1 | 0.16s | 405 406 407 408 409 410 411 412 413 |
| obspy.io.reftek | 3 | 21 | 21 | - | 0.21s | 414 415 416 |
| obspy.io.rg16 | 2 | 38 | 38 | - | 0.11s | 417 418 |
| obspy.io.sac | 40 | 101 | 101 | - | 0.49s | 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 |
| obspy.io.scardec | 4 | 5 | 5 | - | 0.01s | 459 460 461 462 |
| obspy.io.seg2 | 2 | 2 | 2 | - | 0.00s | 463 464 |
| obspy.io.segy | 10 | 56 | 56 | - | 0.26s | 465 466 467 468 469 470 471 472 473 474 |
| obspy.io.seisan | 3 | 8 | 7 | 1 | 0.06s | 475 476 477 |
| obspy.io.seiscomp | 9 | 51 | 51 | - | 1.03s | 478 479 480 481 482 483 484 485 486 |
| obspy.io.sh | 13 | 26 | 24 | 2 | 0.16s | 487 488 489 490 491 492 493 494 495 496 497 498 499 |
| obspy.io.shapefile | 4 | 7 | 7 | - | 0.20s | 500 501 502 503 |
| obspy.io.stationtxt | 9 | 11 | 11 | - | 0.03s | 504 505 506 507 508 509 510 511 512 |
| obspy.io.stationxml | 16 | 25 | 25 | - | 0.24s | 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
| obspy.io.wav | 6 | 8 | 7 | 1 | 0.04s | 529 530 531 532 533 534 |
| obspy.io.win | 2 | 5 | 5 | - | 0.12s | 535 536 |
| obspy.io.xseed | 23 | 84 | 84 | - | 1.58s | 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 |
| obspy.io.y | 1 | 5 | 4 | 1 | 0.01s | 560 |
| obspy.io.zmap | 14 | 15 | 15 | - | 0.03s | 561 562 563 564 565 566 567 568 569 570 571 572 573 574 |
| obspy.realtime | 2 | 22 | 22 | - | 0.29s | 575 576 |
| obspy.scripts | 2 | 2 | 2 | - | 0.00s | 577 578 |
| obspy.signal | 44 | 235 | 233 | 2 | 15.19s | 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 |
| obspy.taup | - | 76 | 76 | - | 32.25s | - |
| Summary | 622 | 2327 | 2307 | 20 | 128.48s | 622 |
Tracebacks (622)
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_base_routing_client.py", line 123, in test_downloading_waveforms mock_instance.get_waveforms_bulk.return_value = obspy.read() ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/unittest/mock.py", line 1378, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1792, in test_no_gzip read().write(bio, 'MSEED') ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 283, in test_inventory_parsing inv = obspy.read_inventory(testdata["channel_level_fdsn.txt"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 560, in test_download_and_split_mseed st = obspy.read(os.path.join(tmpdir, filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 960, in test_get_stationxml_contents inv = obspy.read_inventory(testdata["AU.MEEK.xml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 980, in test_fast_vs_slow_get_stationxml_contents _get_stationxml_contents_slow(testdata["AU.MEEK.xml"]) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/mass_downloader/utils.py", line 423, in _get_stationxml_contents_slow inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2184, in test_get_availability c.client.get_stations.return_value = obspy.read_inventory( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2193, in test_get_availability_with_multiple_channel_epochs c.client.get_stations.return_value = obspy.read_inventory( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2278, in test_excluding_networks_and_stations obspy.read_inventory(testdata["channel_level_fdsn.txt"]) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2355, in test_excluding_networks_and_stations_with_an_inventory_object full_inv = obspy.read_inventory(testdata["channel_level_fdsn.txt"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2447, in test_parse_miniseed_filenames tr = obspy.read()[0] ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2491, in test_warning_when_location_prios_excludes_all_channels c.client.get_stations.return_value = obspy.read_inventory( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_sds.py", line 127, in test_read_from_sds st = client.get_waveforms(net, sta, loc, cha, t - 200, t + 200) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/filesystem/sds.py", line 171, in get_waveforms st += read(full_path, format=self.format, starttime=starttime, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 61, in test_get_waveforms expected_stream = read( ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 115, in test_get_waveforms_bulk read( File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
054 ^^^^^^^
055 A :class:`~obspy.core.stream.Stream` with an example seismogram can be created
056 by calling :func:`~obspy.core.stream.read()` without any arguments.
057 Local files can be read by specifying the filename, files stored on http
058 servers (e.g. at https://examples.obspy.org) can be read by specifying their
059 URL. For details and supported formats see the documentation of
060 :func:`~obspy.core.stream.read`.
061
062 >>> from obspy import read
063 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/__init__.py:63: UnexpectedException
128
129 :type other: :class:`~obspy.core.event.Catalog`
130 :param other: Catalog object for comparison.
131 :rtype: bool
132 :return: ``True`` if both Catalogs contain the same events.
133
134 .. rubric:: Example
135
136 >>> from obspy.core.event import read_events
137 >>> cat = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.event.catalog.Catalog.__eq__[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py:137: UnexpectedException
259
260 Clears event list (convenient method).
261
262 .. rubric:: Example
263
264 >>> from obspy.core.event import read_events
265 >>> cat = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.event.catalog.Catalog.clear[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py:265: UnexpectedException
406
407 :rtype: :class:`~obspy.core.event.catalog.Catalog`
408 :return: Copy of current catalog.
409
410 .. rubric:: Examples
411
412 1. Create a Catalog and copy it
413
414 >>> from obspy.core.event import read_events
415 >>> cat = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.event.catalog.Catalog.copy[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py:415: UnexpectedException
292 specified filter rules.
293
294 :rtype: :class:`Catalog`
295 :return: Filtered catalog. A new Catalog object with filtered
296 Events as references to the original Events.
297
298 .. rubric:: Example
299
300 >>> from obspy.core.event import read_events
301 >>> cat = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.event.catalog.Catalog.filter[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py:301: UnexpectedException
616 :param title: Title above plot. If left ``None``, an automatic title
617 will be generated. Set to ``""`` for no title.
618 :returns: Figure instance with the plot.
619
620 .. rubric:: Examples
621
622 Mollweide projection for global overview:
623
624 >>> from obspy import read_events
625 >>> cat = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.event.catalog.Catalog.plot[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py:625: UnexpectedException
463 :type format: str
464 :param format: The file format to use (e.g. ``"QUAKEML"``). See the
465 `Supported Formats`_ section below for a list of supported formats.
466 :param kwargs: Additional keyword arguments passed to the underlying
467 plugin's writer method.
468
469 .. rubric:: Example
470
471 >>> from obspy import read_events
472 >>> catalog = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.event.catalog.Catalog.write[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py:472: UnexpectedException
205 :returns: Figure instance with the plot.
206
207 .. rubric:: Examples
208
209 Default plot includes an orthographic map plot, a beachball plot and
210 plots of P/S farfield radiation patterns (preferred -- or first --
211 focal mechanism has to have a moment tensor set).
212
213 >>> from obspy import read_events
214 >>> event = read_events("/path/to/CMTSOLUTION")[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.event.event.Event.plot[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/event.py:214: UnexpectedException
018 (https://www.gnu.org/copyleft/lesser.html)
019
020 Reading
021 -------
022 StationXML files can be read using the
023 :func:`~obspy.core.inventory.inventory.read_inventory()` function that
024 returns an :class:`~obspy.core.inventory.inventory.Inventory` object.
025
026 >>> from obspy import read_inventory
027 >>> inv = read_inventory("/path/to/BW_RJOB.xml")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/__init__.py:27: UnexpectedException
244
245 Returns a dictionary containing the contents of the object.
246
247 .. rubric:: Example
248
249 >>> example_filename = "/path/to/IRIS_single_channel_with_response.xml"
250 >>> inventory = read_inventory(example_filename)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.inventory.Inventory.get_contents[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py:250: UnexpectedException
416
417 Find response for a given channel at given time.
418
419 >>> from obspy import read_inventory, UTCDateTime
420 >>> inventory = read_inventory("/path/to/IU_ANMO_BH.xml")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.inventory.Inventory.get_response[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py:420: UnexpectedException
944 inv = read_inventory()
945 inv.plot(projection="local",
946 color_per_network={'GR': 'blue',
947 'BW': 'green'})
948
949 Combining a station and event plot:
950
951 >>> from obspy import read_inventory, read_events
952 >>> inv = read_inventory()
953 >>> cat = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.inventory.Inventory.plot[8]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py:953: UnexpectedException
182
183 Returns a dictionary containing the contents of the object.
184
185 .. rubric:: Example
186
187 >>> from obspy import read_inventory
188 >>> example_filename = "/path/to/IRIS_single_channel_with_response.xml"
189 >>> inventory = read_inventory(example_filename)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.network.Network.get_contents[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/network.py:189: UnexpectedException
361 https://docs.fdsn.org/projects/stationxml/en/latest/response.html#poles-and-zeros
362
363 :returns: The calculated normalization factor (returns None if the
364 response stage normalization frequency is None)
365 :rtype: float or None
366
367 .. rubric:: Example
368
369 >>> from obspy import read
370 >>> paz_stage = read()[0].stats.response.response_stages[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.response.PolesZerosResponseStage.calculate_normalization_factor[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py:370: UnexpectedException
197
198 Returns a dictionary containing the contents of the object.
199
200 .. rubric:: Example
201
202 >>> from obspy import read_inventory
203 >>> example_filename = "/path/to/IRIS_single_channel_with_response.xml"
204 >>> inventory = read_inventory(example_filename)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.station.Station.get_contents[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/station.py:204: UnexpectedException
566 :rtype: bool
567 :return: ``True`` if both Streams contain the same traces, i.e. after a
568 sort operation going through both streams every trace should be
569 equal according to Trace's
570 :meth:`~obspy.core.trace.Trace.__eq__` operator.
571
572 .. rubric:: Example
573
574 >>> from obspy import read
575 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.__eq__[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:575: UnexpectedException
429 Create a new Stream containing num copies of this stream.
430
431 :rtype num: int
432 :param num: Number of copies.
433 :returns: New ObsPy Stream object.
434
435 .. rubric:: Example
436
437 >>> from obspy import read
438 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.__mul__[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:438: UnexpectedException
601
602 Implements rich comparison of Stream objects for "!=" operator.
603
604 .. rubric:: Example
605
606 >>> from obspy import read
607 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.__ne__[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:607: UnexpectedException
3567
3568 Rotate three explicitly specified channels to ZNE.
3569
3570 >>> from obspy import read, read_inventory
3571 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3571: UnexpectedException
3509
3510 Rotate all matching traces to ZNE, specifying sets of component codes.
3511
3512 >>> from obspy import read, read_inventory
3513 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_to_zne[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3513: UnexpectedException
674
675 Append a single Trace object to the current Stream object.
676
677 :param trace: :class:`~obspy.core.trace.Trace` object.
678
679 .. rubric:: Example
680
681 >>> from obspy import read, Trace
682 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.append[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:682: UnexpectedException
2957
2958 Replaces Stream's trace list by an empty one creating an empty
2959 Stream object. Useful if there are references to the current
2960 Stream object that should not break. Otherwise simply use a new
2961 Stream() instance.
2962
2963 .. rubric:: Example
2964
2965 >>> from obspy import read
2966 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.clear[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2966: UnexpectedException
2920
2921 :rtype: :class:`~obspy.core.stream.Stream`
2922 :return: Copy of current stream.
2923
2924 .. rubric:: Examples
2925
2926 1. Create a Stream and copy it
2927
2928 >>> from obspy import read
2929 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.copy[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2929: UnexpectedException
1584 Cut the given time range out of all traces of this Stream object.
1585
1586 :type starttime: :class:`~obspy.core.utcdatetime.UTCDateTime`
1587 :param starttime: Start of time span to remove from stream.
1588 :type endtime: :class:`~obspy.core.utcdatetime.UTCDateTime`
1589 :param endtime: End of time span to remove from stream.
1590
1591 .. rubric:: Example
1592
1593 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.cutout[0]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1593: UnexpectedException
702
703 Extend the current Stream object with a list of Trace objects.
704
705 :param trace_list: list of :class:`~obspy.core.trace.Trace` objects or
706 :class:`~obspy.core.stream.Stream`.
707
708 .. rubric:: Example
709
710 >>> from obspy import read, Trace
711 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.extend[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:711: UnexpectedException
2240 FIR-Lowpass (uses :func:`obspy.signal.filter.lowpass_fir`).
2241
2242 ``'remez_fir'`` (experimental)
2243 Minimax optimal bandpass using Remez algorithm (uses
2244 :func:`obspy.signal.filter.remez_fir`).
2245
2246 .. rubric:: Example
2247
2248 >>> from obspy import read
2249 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.filter[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2249: UnexpectedException
755 Traces and the start and end times of segments within Traces that
756 contain masked arrays (i.e., Traces that were merged without a fill
757 value).
758
759 .. rubric:: Example
760
761 Our example stream has no gaps:
762
763 >>> from obspy import read, UTCDateTime
764 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.get_gaps[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:764: UnexpectedException
2603
2604 .. note::
2605
2606 This operation is performed in place on the actual data arrays. The
2607 raw data will no longer be accessible afterwards. To keep your
2608 original data, use :meth:`~obspy.core.stream.Stream.copy` to create
2609 a copy of your stream object.
2610
2611 >>> from obspy import read
2612 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.interpolate[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2612: UnexpectedException
1148 * pass an string of a R, G, B tuple, where each of the components is a
1149 float value in the range of 0 to 1, e.g. ``'(1, 0.25, 0.5)'``, or
1150 * use single letters for the basic built-in colors, such as ``'b'``
1151 (blue), ``'g'`` (green), ``'r'`` (red), ``'c'`` (cyan), ``'m'``
1152 (magenta), ``'y'`` (yellow), ``'k'`` (black), ``'w'`` (white).
1153
1154 .. rubric:: Example
1155
1156 >>> from obspy import read
1157 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.plot[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1157: UnexpectedException
1200 If no index is given, remove the last Trace. Passes on the pop() to
1201 self.traces.
1202
1203 :param index: Index of the Trace object to be returned and removed.
1204 :returns: Removed Trace.
1205
1206 .. rubric:: Example
1207
1208 >>> from obspy import read
1209 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.pop[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1209: UnexpectedException
1230 value is assumed to be in seconds. Defaults to None.
1231 :param max_gap: All gaps larger than this value will be omitted. The
1232 value is assumed to be in seconds. Defaults to None.
1233
1234 .. rubric:: Example
1235
1236 Our example stream has no gaps:
1237
1238 >>> from obspy import read, UTCDateTime
1239 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.print_gaps[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1239: UnexpectedException
1301 Stream object. Passes on the remove() call to self.traces.
1302
1303 :param trace: Trace object to be removed from Stream.
1304
1305 .. rubric:: Example
1306
1307 This example shows how to delete all "E" component traces in a stream:
1308
1309 >>> from obspy import read
1310 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.remove[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1310: UnexpectedException
3233
3234 Deconvolve instrument response for all Traces in Stream.
3235
3236 For details see the corresponding
3237 :meth:`~obspy.core.trace.Trace.remove_response` method of
3238 :class:`~obspy.core.trace.Trace`.
3239
3240 >>> from obspy import read, read_inventory
3241 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.remove_response[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3241: UnexpectedException
3267
3268 Remove instrument sensitivity for all Traces in Stream.
3269
3270 For details see the corresponding
3271 :meth:`~obspy.core.trace.Trace.remove_sensitivity` method of
3272 :class:`~obspy.core.trace.Trace`.
3273
3274 >>> from obspy import read, read_inventory
3275 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.remove_sensitivity[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3275: UnexpectedException
2378 a copy of your stream object.
2379 This also makes an entry with information on the applied processing
2380 in ``stats.processing`` of every trace.
2381
2382 Uses :func:`scipy.signal.resample`. Because a Fourier method is used,
2383 the signal is assumed to be periodic.
2384
2385 .. rubric:: Example
2386
2387 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[0]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2387: UnexpectedException
1328
1329 Reverse the Traces of the Stream object in place.
1330
1331 .. rubric:: Example
1332
1333 >>> from obspy import read
1334 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.reverse[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1334: UnexpectedException
2765 :type inventory: :class:`~obspy.core.inventory.inventory.Inventory` or
2766 :class:`~obspy.io.xseed.parser.Parser`
2767 :param inventory: Inventory or SEED Parser with metadata of channels.
2768
2769 Example to rotate unaligned borehole instrument data based on station
2770 inventory (a dataless SEED :class:`~obspy.io.xseed.parser.Parser` can
2771 also be provided, see details for option ``inventory``):
2772
2773 >>> from obspy import read, read_inventory
2774 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.rotate[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2774: UnexpectedException
1787
1788 Alternatively, traces can be selected based on the content of an
1789 :class:`~obspy.core.inventory.inventory.Inventory` object: trace will
1790 be selected if the inventory contains a matching channel active at the
1791 trace start time.
1792
1793 .. rubric:: Examples
1794
1795 >>> from obspy import read
1796 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.select[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1796: UnexpectedException
2152 original data, use :meth:`~obspy.core.stream.Stream.copy` to create
2153 a copy of your stream object.
2154 This also makes an entry with information on the applied processing
2155 in ``stats.processing`` of every trace.
2156
2157 .. rubric:: Example
2158
2159 >>> from obspy import read
2160 >>> from obspy.signal.invsim import corn_freq_2_paz
2161 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.simulate[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2161: UnexpectedException
1646 .. note::
1647
1648 The basic idea of :meth:`~obspy.core.stream.Stream.slice`
1649 is to avoid copying the sample data in memory. So sample data in
1650 the resulting :class:`~obspy.core.stream.Stream` object contains
1651 only a reference to the original traces.
1652
1653 .. rubric:: Example
1654
1655 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.slice[0]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1655: UnexpectedException
1709 have overlapping windows, all following windows are affected as well.
1710
1711 Not all yielded windows must have the same number of traces. The
1712 algorithm will determine the maximal temporal extents by analysing
1713 all Traces and then creates windows based on these times.
1714
1715 .. rubric:: Example
1716
1717 >>> import obspy
1718 >>> st = obspy.read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.slide[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1718: UnexpectedException
1365 'dataquality'
1366 Defaults to ['network', 'station', 'location', 'channel',
1367 'starttime', 'endtime'].
1368 :type reverse: bool
1369 :param reverse: Reverts sorting order to descending.
1370
1371 .. rubric:: Example
1372
1373 >>> from obspy import read
1374 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.sort[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1374: UnexpectedException
1171
1172 Create a spectrogram plot for each trace in the stream.
1173
1174 For details on kwargs that can be used to customize the spectrogram
1175 plot see :func:`obspy.imaging.spectrogram.spectrogram`.
1176
1177 .. rubric:: Example
1178
1179 >>> from obspy import read
1180 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.spectrogram[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1180: UnexpectedException
3321 :type npts_tol: int
3322 :param npts_tol: Tolerate traces with different number of points
3323 with a difference up to this value. Surplus samples are discarded.
3324 :type time_tol: float
3325 :param time_tol: Tolerate difference, in seconds, in startime when
3326 setting the new starttime of the stack. If starttimes differs more
3327 than this value it will be set to timestamp 0.
3328
3329 >>> from obspy import read
3330 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.stack[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3330: UnexpectedException
2315 Computes the modified energy ratio characteristic function (uses
2316 :func:`obspy.signal.trigger.modified_energy_ratio`).
2317
2318 ``'zdetect'``
2319 Z-detector (uses :func:`obspy.signal.trigger.z_detect`).
2320
2321 .. rubric:: Example
2322
2323 >>> from obspy import read
2324 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.trigger[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2324: UnexpectedException
1507 .. note::
1508
1509 This operation is performed in place on the actual data arrays. The
1510 raw data will no longer be accessible afterwards. To keep your
1511 original data, use :meth:`~obspy.core.stream.Stream.copy` to create
1512 a copy of your stream object.
1513
1514 .. rubric:: Example
1515
1516 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.trim[0]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:1516: UnexpectedException
094 .. rubric:: Basic Usage
095
096 In most cases a filename is specified as the only argument to
097 :func:`~obspy.core.stream.read`. For a quick start you may omit all
098 arguments and ObsPy will create and return a basic example seismogram.
099 Further usages of the :func:`~obspy.core.stream.read` function can
100 be seen in the `Further Examples`_ section underneath.
101
102 >>> from obspy import read
103 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.read[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:103: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 36, in test_str event = read_events()[1] ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 230, in test_read_events_without_parameters catalog = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 237, in test_str catalog = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 247, in test_read_events catalog = read_events(testdata['iris_events.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 263, in test_read_events_with_wildcard expected = read_events(testdata['iris_events.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 357, in test_count_and_len catalog = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 365, in test_get_item catalog = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 379, in test_slicing catalog = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 408, in test_copy cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 430, in test_filter cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 460, in test_catalog_resource_id cat = read_events(testdata['neries_events.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 468, in test_can_pickle cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 486, in test_issue_2173 event2 = read_events(bio)[0] ^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 494, in test_read_path assert read_events(str(testdata['iris_events.xml'])) == \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 674, in test_issue3105 evs = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_inventory.py", line 599, in test_inventory_can_be_initialized_with_no_arguments inv2 = read_inventory(buf) ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_inventory.py", line 665, in test_read_inventory_with_wildcard expected = read_inventory(testdata['IU_ANMO_00_BHZ.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_inventory.py", line 676, in test_read_inventory_with_path inv1 = read_inventory(path1) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_inventory.py", line 720, in test_combined_station_event_plot cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_network.py", line 247, in test_writing_network_before_1990 inv2 = read_inventory(buf) ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_network.py", line 298, in test_empty_network_code inv2 = read_inventory(buf) ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 308, in test_preferred_origin for cat in catalogs or make_diverse_catalog_list(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 317, in test_preferred_magnitude for cat in catalogs or make_diverse_catalog_list(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 326, in test_preferred_focal_mechanism for cat in catalogs or make_diverse_catalog_list(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 336, in test_arrivals_refer_to_picks_in_same_event for cat in catalogs or make_diverse_catalog_list(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 348, in test_all_referred_objects_in_events for num, cat in enumerate(catalogs or make_diverse_catalog_list()): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 363, in test_all_resource_id_attrs_are_attached for cat in catalogs or make_diverse_catalog_list(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 379, in test_no_overlapping_objects catalogs = catalogs or make_diverse_catalog_list() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 402, in test_event_copying_does_not_raise_duplicate_resource_id_warning ev = read_events()[0] ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 468, in test_catalog_resource_ids cat1 = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 505, in test_event_scoped_resource_id_many_threads nested_catalogs = pool.map(make_diverse_catalog_list, range(5)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 774, in get raise self._value File "/Users/runner/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_resource_identifier.py", line 743, in make_diverse_catalog_list cat2 = read_events(bytes_io) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 66, in test_evalresp_with_output_from_seed inv = read_inventory(xml_filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 198, in test_segfault_after_error_handling inv = read_inventory(testdata["TM.SKLT.__.BHZ_faulty_response.xml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 227, in test_response_list_stage inv = read_inventory(testdata["IM_IL31__BHZ.xml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 267, in test_response_with_no_units_in_stage_1 inv = read_inventory(testdata["stationxml_no_units_in_stage_1.xml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 324, in test_resp_from_paz_loading_vs_evalresp resp_er = read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 417, in test_get_sampling_rates inv = read_inventory(testdata['AU.MEEK.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 477, in test_response_calculation_paz_without_decimation inv = read_inventory(testdata['DK.BSD..BHZ.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 491, in test_regression_evalresp inv = read_inventory(testdata["IM_I53H1_BDF.xml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stats.py", line 280, in test_casted_stats_nscl_writes_to_mseed st = Stream(traces=read()[0]) ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 114, in test_getitem stream = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 197, in test_add_trace_to_stream st0 = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 245, in test_count_and_len stream = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 443, in test_slicing stream = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 474, in test_slice st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 487, in test_slice_nearest_sample st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 522, in test_cutout st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 712, in test_select_on_single_letter_channels st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1419, in test_is_pickle st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1434, in test_read_write_pickle st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1474, in test_read_pickle st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1875, in test_integrate_and_differentiate st1 = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1895, in test_read tr = read(dtype=np.int64)[0] ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1972, in test_read_path st = read(data_path) ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1979, in test_copy st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1994, in test_merge_with_empty_trace tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2007, in test_rotate st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2111, in test_deepcopy st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2128, in test_write st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2190, in test_issue_540 st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2222, in test_method_chaining st1 = read()[0:1] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2303, in test_simulate_seedresp_parser st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2361, in test_remove_response st1 = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2376, in test_attach_response_deprecated st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2387, in test_remove_sensitivity st1 = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2408, in test_interpolate st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2421, in test_integrate st1 = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2434, in test_integrate_args st1 = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2651, in test_passing_kwargs_to_trace_detrend st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2745, in test_stack st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2847, in test_stream_trim_slice_same_length st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2854, in test_filter_ftype st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2863, in test_filter_freq_args st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1208, in test_masked_array_to_string st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1328, in test_verify tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1577, in test_simulate_evalresp tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1605, in test_issue_540 tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1636, in test_resample tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1667, in test_method_chaining tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1705, in test_skip_empty_trace tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1734, in test_remove_response tr1 = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1750, in test_remove_polynomial_response tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1785, in test_processing_info_remove_response_and_sensitivity tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1825, in test_processing_information tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1907, in test_interpolate org_tr = read("/path/to/%s" % file_, round_sampling_interval=False)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1983, in test_interpolation_time_shift tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2047, in test_interpolation_arguments tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2292, in test_remove_response_plot tr = read("/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed")[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2302, in test_remove_response_default_units tr = read("/path/to/1T_MONN_00_EDH.mseed")[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2308, in test_attach_response_deprecated tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2420, in test_dtype_is_not_unnecessarily_changed tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2728, in test_long_processing_list tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_misc.py", line 270, in test_entry_point_buffer st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 21, in test_identical_traces tr1, tr2 = read()[0], read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 31, in test_slightly_modified_data tr1, tr2 = read()[0], read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 58, in test_processing tr1, tr2 = read()[0], read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 71, in test_nan tr1, tr2 = read()[0], read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 80, in test_unequal_trace_lengths tr1, tr2 = read()[0], read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 88, in test_not_a_trace tr1 = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 99, in test_stream_almost_equal st1, st2 = read(), read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 109, in test_read_and_write st = read(outfile) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 397, in test_read_gzip2_file st1 = read(ascii_path / 'tspair.ascii.gz') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 405, in test_read_bzip2_file st1 = read(ascii_path / 'slist.ascii.bz2') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 414, in test_read_tar_archive st1 = read(datapath / "test.tar") ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 434, in test_read_zip_archive st1 = read(datapath / 'test.zip') ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 448, in test_raise_on_unknown_format read(tmpfile) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 464, in test_deepcopy stream_orig = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 509, in test_auto_file_format_during_writing stream_trace = [read(), read()[0]] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_waveform_plugins.py", line 556, in test_reading_tarfile_impostor st = read("/path/to/tarfile_impostor.mseed") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
569
570 :type num: int
571 :param num: Number of samples in each trace in returned Stream. Last
572 trace may contain lesser samples.
573 :returns: New ObsPy Stream object.
574
575 .. rubric:: Example
576
577 >>> from obspy import read
578 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.__mod__[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:578: UnexpectedException
500 Create a new Stream containing num copies of this trace.
501
502 :type num: int
503 :param num: Number of copies.
504 :returns: New ObsPy Stream object.
505
506 .. rubric:: Example
507
508 >>> from obspy import read
509 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.__mul__[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:509: UnexpectedException
525
526 :type num: int
527 :param num: Number of traces in returned Stream. Last trace may contain
528 lesser samples.
529 :returns: New ObsPy Stream object.
530
531 .. rubric:: Example
532
533 >>> from obspy import read
534 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.__truediv__[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:534: UnexpectedException
2025 Subtracts a spline of a given order with a given number of
2026 samples between spline nodes.
2027 (uses :func:`obspy.signal.detrend.spline`).
2028
2029 .. rubric:: Example
2030
2031 Apply a third order spline detrend with 500 samples between nodes.
2032
2033 >>> from obspy import read
2034 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.detrend[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:2034: UnexpectedException
1527 FIR-Lowpass (uses :func:`obspy.signal.filter.lowpass_fir`).
1528
1529 ``'remez_fir'`` (experimental)
1530 Minimax optimal bandpass using Remez algorithm (uses
1531 :func:`obspy.signal.filter.remez_fir`).
1532
1533 .. rubric:: Example
1534
1535 >>> from obspy import read
1536 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.filter[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1536: UnexpectedException
2443 .. rubric:: _`New in version 0.11:`
2444
2445 * New parameter ``time_shift``.
2446 * New interpolation method ``lanczos``.
2447
2448
2449 .. rubric:: _`Usage Examples`
2450
2451 >>> from obspy import read
2452 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.interpolate[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:2452: UnexpectedException
918 Create a simple graph of the current trace.
919
920 Various options are available to change the appearance of the waveform
921 plot. Please see :meth:`~obspy.core.stream.Stream.plot` method for all
922 possible options.
923
924 .. rubric:: Example
925
926 >>> from obspy import read
927 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.plot[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:927: UnexpectedException
2731 response provided as
2732 a (dataless) SEED or RESP file and when using the same
2733 ``water_level`` and ``pre_filt`` (and options ``sacsim=True`` and
2734 ``pitsasim=False`` which influence very minor details in detrending
2735 and tapering).
2736
2737 .. rubric:: Example
2738
2739 >>> from obspy import read, read_inventory
2740 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.remove_response[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:2740: UnexpectedException
3004 :type inventory: :class:`~obspy.core.inventory.inventory.Inventory`
3005 or None.
3006 :param inventory: Station metadata to use in search for adequate
3007 response. If inventory parameter is not supplied, the response
3008 has to be attached to the trace beforehand.
3009
3010 .. rubric:: Example
3011
3012 >>> from obspy import read, read_inventory
3013 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.remove_sensitivity[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:3013: UnexpectedException
1403 original data, use :meth:`~obspy.core.trace.Trace.copy` to create
1404 a copy of your trace object.
1405 This also makes an entry with information on the applied processing
1406 in ``stats.processing`` of this trace.
1407
1408 .. rubric:: Example
1409
1410 >>> from obspy import read
1411 >>> from obspy.signal.invsim import corn_freq_2_paz
1412 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.simulate[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1412: UnexpectedException
1245 Please keep in mind that it only returns a new view of the original
1246 data. Any modifications are applied to the original data as well. If
1247 you don't want this you have to create a copy of the yielded
1248 windows. Also be aware that if you modify the original data and you
1249 have overlapping windows, all following windows are affected as well.
1250
1251 .. rubric:: Example
1252
1253 >>> import obspy
1254 >>> tr = obspy.read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.slide[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1254: UnexpectedException
943
944 Create a spectrogram plot of the trace.
945
946 For details on kwargs that can be used to customize the spectrogram
947 plot see :func:`~obspy.imaging.spectrogram.spectrogram`.
948
949 .. rubric:: Example
950
951 >>> from obspy import read
952 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.spectrogram[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:952: UnexpectedException
2542 and :func:`matplotlib.dates.date2num`, ``type="matplotlib"``)
2543
2544 .. note::
2545 The option ``type="utcdatetime"`` shouldn't be used for Traces with
2546 a large sample size as it will generate an array of thousands of
2547 :class:`UTCDateTime.timestamp <obspy.core.utcdatetime.UTCDateTime>`
2548 objects.
2549
2550 >>> from obspy import read, UTCDateTime
2551 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.times[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:2551: UnexpectedException
1615 Computes the modified energy ratio characteristic function (uses
1616 :func:`obspy.signal.trigger.modified_energy_ratio`).
1617
1618 ``'zdetect'``
1619 Z-detector (uses :func:`obspy.signal.trigger.z_detect`).
1620
1621 .. rubric:: Example
1622
1623 >>> from obspy import read
1624 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.trigger[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1624: UnexpectedException
654 Only return objects that have attribute has_attr, if None return all.
655
656 .. rubric:: General Usage
657
658 Get a list of all resource_ids contained in an event, the objects they
659 are attached to, and the attribute name on the parent object.
660
661 >>> import obspy
662 >>> from obspy.core.event import ResourceIdentifier
663 >>> cat = obspy.read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.util.misc._yield_obj_parent_attr[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py:663: UnexpectedException
399
400 .. rubric:: Example
401
402 1) Changes to the non-default parameters of the
403 :class:`~obspy.core.trace.Stats` objects of the stream's contained
404 :class:`~obspy.core.trace.Trace` objects will cause the streams to
405 be considered unequal, but they will be considered almost equal.
406
407 >>> from obspy import read
408 >>> st1 = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.util.testing.streams_almost_equal[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/testing.py:408: UnexpectedException
421 :param maxradius: Maximum distance, in degrees, from the reference
422 geographic point defined by the latitude and longitude parameters.
423 :return: ``True`` if the object is within the given range, ``False``
424 otherwise.
425
426 .. rubric:: Example
427
428 >>> from obspy.geodetics import inside_geobounds
429 >>> from obspy import read_events
430 >>> ev = read_events()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.geodetics.base.inside_geobounds[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py:430: UnexpectedException
020 :class:`~obspy.core.stream.Stream` object and has various other optional
021 arguments to adjust the plot, such as color and tick format changes.
022
023 Additionally the start and end time of the plot can be given as
024 :class:`~obspy.core.utcdatetime.UTCDateTime` objects.
025
026 Examples files may be retrieved via https://examples.obspy.org.
027
028 >>> from obspy import read
029 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/__init__.py:29: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_plot.py", line 37, in test_plot obspy_plot(['--outfile', str(image_path)] + all_files_list) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/plot.py", line 37, in main st += read(f, format=args.format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_plot.py", line 51, in test_plot_no_merge obspy_plot(['--no-automerge', '--outfile', str(image_path)] + File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/plot.py", line 37, in main st += read(f, format=args.format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 91, in test_scan_dir_no_permission assert scanner.counter == 2 AssertionError: assert 1 == 2 + where 1 = <obspy.imaging.scripts.scan.Scanner object at 0x13296a0d0>.counter
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 113, in test_scan_function_and_scanner_class scanner.plot(path2) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 417, in plot ax.set_xlim(left - 0.05 * x_axis_range, File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 3828, in set_xlim return self.xaxis._set_lim(left, right, emit=emit, auto=auto) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axis.py", line 1216, in _set_lim v0 = self.axes._validate_converted_limits(v0, self.convert_units) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 3749, in _validate_converted_limits raise ValueError("Axis limits cannot be NaN or Inf") ValueError: Axis limits cannot be NaN or Inf
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 151, in test_scan_plot_by_id_with_wildcard fig = scanner.plot(fig=fig, show=False, seed_ids=[seed_id]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 417, in plot ax.set_xlim(left - 0.05 * x_axis_range, File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 3828, in set_xlim return self.xaxis._set_lim(left, right, emit=emit, auto=auto) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axis.py", line 1216, in _set_lim v0 = self.axes._validate_converted_limits(v0, self.convert_units) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 3749, in _validate_converted_limits raise ValueError("Axis limits cannot be NaN or Inf") ValueError: Axis limits cannot be NaN or Inf
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 172, in test_scanner_manually_add_streams st = read(file_, headonly=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 207, in test_scan_save_load_npz scanner.plot(path1) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 417, in plot ax.set_xlim(left - 0.05 * x_axis_range, File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 3828, in set_xlim return self.xaxis._set_lim(left, right, emit=emit, auto=auto) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axis.py", line 1216, in _set_lim v0 = self.axes._validate_converted_limits(v0, self.convert_units) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 3749, in _validate_converted_limits raise ValueError("Axis limits cannot be NaN or Inf") ValueError: Axis limits cannot be NaN or Inf
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 194, in test_plot_multiple_traces_1_trace st = read()[1] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 201, in test_plot_multiple_traces_3_traces st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 208, in test_plot_multiple_traces_5_traces st = read()[1] * 5 ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 216, in test_plot_multiple_traces_10_traces st = read()[1] * 10 ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 223, in test_plot_multiple_traces_10_traces_huge st = read()[1] * 10 ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 234, in test_plot_multiple_traces_10_traces_tiny st = read()[1] * 10 ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 244, in test_plot_with_labels st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_waveform.py", line 473, in test_plot_day_plot_catalog cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ah/tests/test_core.py", line 57, in test_read st = read(testfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
132 91,92,93,94,95,97,98,102,103,104,106,107,108,109, and 111.
133 :type ignore_error: bool, optional
134 :param ignore_error: Include error frames as much as possible if True.
135 :rtype: :class:`~obspy.core.stream.Stream`
136 :return: A ObsPy Stream object.
137
138 .. rubric:: Example
139
140 >>> from obspy import read
141 >>> st = read("/path/to/pse.a15.1.2.mini")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.alsep.core._read_pse[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/alsep/core.py:141: UnexpectedException
295 for scanning available data in huge (temporary) data sets.
296 :type ignore_error: bool, optional
297 :param ignore_error: Include error frames as much as possible if True.
298 :rtype: :class:`~obspy.core.stream.Stream`
299 :return: A ObsPy Stream object.
300
301 .. rubric:: Example
302
303 >>> from obspy import read
304 >>> st = read("/path/to/wth.1.5.mini")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.alsep.core._read_wth[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/alsep/core.py:304: UnexpectedException
205 for scanning available data in huge (temporary) data sets.
206 :type ignore_error: bool, optional
207 :param ignore_error: Include error frames as much as possible if True.
208 :rtype: :class:`~obspy.core.stream.Stream`
209 :return: A ObsPy Stream object.
210
211 .. rubric:: Example
212
213 >>> from obspy import read
214 >>> st = read("/path/to/wtn.1.2.mini")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.alsep.core._read_wtn[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/alsep/core.py:214: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 35, in test_publicid_slash v = read_inventory(testdata["public-id-slash.xml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 42, in test_analogue_filter_chain arclink_inv = read_inventory(self.arclink_afc_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 71, in test_raise_polynomial read_inventory(self.arclink_xml_poly) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 75, in test_auto_read_arclink_xml arclink_inv = read_inventory(self.arclink_xml_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
121 :type headonly: bool, optional
122 :param headonly: If set to True, read only the head. This is most useful
123 for scanning available data in huge (temporary) data sets.
124 :rtype: :class:`~obspy.core.stream.Stream`
125 :return: A ObsPy Stream object.
126
127 .. rubric:: Example
128
129 >>> from obspy import read
130 >>> st = read('/path/to/slist.ascii')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._read_slist[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ascii/core.py:130: UnexpectedException
189 :type headonly: bool, optional
190 :param headonly: If set to True, read only the headers. This is most useful
191 for scanning available data in huge (temporary) data sets.
192 :rtype: :class:`~obspy.core.stream.Stream`
193 :return: A ObsPy Stream object.
194
195 .. rubric:: Example
196
197 >>> from obspy import read
198 >>> st = read('/path/to/tspair.ascii')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._read_tspair[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ascii/core.py:198: UnexpectedException
261 :param filename: Name of file to write.
262 :type custom_fmt: str
263 :param custom_fmt: formatter for writing sample values. Defaults to None.
264 Using this parameter will set ``TYPE`` value in header to ``CUSTOM``
265 and ObsPy will raise an exception while trying to read that file.
266
267 .. rubric:: Example
268
269 >>> from obspy import read
270 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._write_slist[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ascii/core.py:270: UnexpectedException
371 :param filename: Name of file to write.
372 :type custom_fmt: str
373 :param custom_fmt: formatter for writing sample values. Defaults to None.
374 Using this parameter will set ``TYPE`` value in header to ``CUSTOM``
375 and ObsPy will raise an exception while trying to read that file.
376
377 .. rubric:: Example
378
379 >>> from obspy import read
380 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._write_tspair[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ascii/core.py:380: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ascii/tests/test_ascii.py", line 675, in test_regression_against_mseed2ascii read(mseed_file).write(tf.name, format="TSPAIR") ^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
013 GNU Lesser General Public License, Version 3
014 (https://www.gnu.org/copyleft/lesser.html)
015
016 Example
017 -------
018
019 It works by utilizing ObsPy's :func:`~obspy.core.event.read_events` function.
020
021 >>> import obspy
022 >>> cat = obspy.read_events("/path/to/CMTSOLUTION")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.cmtsolution[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/__init__.py:22: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 27, in test_read_and_write_cmtsolution_from_files cat = obspy.read_events(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 53, in test_write_no_preferred_focal_mechanism cat = obspy.read_events(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 82, in test_read_and_write_cmtsolution_from_open_files cat = obspy.read_events(fh) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 106, in test_read_and_write_cmtsolution_from_bytes_io cat = obspy.read_events(buf) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 130, in test_read_and_write_cmtsolution_explosion cat = obspy.read_events(buf) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 163, in test_read_and_write_multiple_cmtsolution_from_files cat = obspy.read_events(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 197, in test_read_and_write_multiple_events_from_bytes_io cat = obspy.read_events(buf) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 213, in test_reading_newer_cmtsolution_files cat = obspy.read_events(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/css/tests/test_core.py", line 94, in test_css_read_via_obspy st = read(self.filename_css) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/css/tests/test_core.py", line 113, in test_nnsa_kb_core_read_via_obspy st = read(self.filename_nnsa) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
004
005
006 Usage CSV
007 ---------
008
009 CSV format can be used to store a catalog with basic origin properties.
010 Picks cannot be stored.
011
012 >>> from obspy import read_events
013 >>> events = read_events('/path/to/catalog.csv')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.csv[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/__init__.py:13: UnexpectedException
386 All kwargs are passed to :func:`load_csv`, e.g. use
387 `only=('lat', 'lon', 'mag')`
388 to get an array with lat, lon, mag parameters.
389
390 Example
391 -------
392
393 >>> from obspy import read_events
394 >>> from obspy.io.csv import _events2array
395 >>> events = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.csv.core._events2array[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/core.py:395: UnexpectedException
142 otherwise can be specified as string, sequence or dict
143 :param format_check: Check if the first event can be read
144 :param **kargs: all other kwargs are passed to csv.DictReader,
145 important additional arguments are fieldnames, dialect, delimiter, etc
146
147 Example
148 -------
149
150 >>> from obspy import read_events
151 >>> events = read_events('/path/to/catalog.csv')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.csv.core._read_csv[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/core.py:151: UnexpectedException
265 .. warning::
266 If the parameters `delimiter` or `header` are changed,
267 ObsPy's read_events function will not automatically identify the file
268 as CSV file
269
270 Example
271 -------
272
273 >>> from obspy import read_events
274 >>> events = read_events() # get example catalog
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.csv.core._write_csv[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/core.py:274: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 14, in test_csv events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 43, in test_csv_incomplete_catalog events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 71, in test_csv_custom_fmt events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 88, in test_csz events = read_events('/path/to/example.pha') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 128, in test_csz_without_picks events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 139, in test_csz_without_check_compression_parameters test_csz(check_compression=True) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 88, in test_csz events = read_events('/path/to/example.pha') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 144, in test_load_csv events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 158, in test_load_csv_incomplete_catalog events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 173, in test_load_csv_some_cols events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 190, in test_events2array events = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 198, in test_eventtxt events = read_events(fname) ^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
014
015 Reading
016 -------
017
018 Reading CyberShake waveform data is handled by using
019 ObsPy's standard :func:`~obspy.core.stream.read` function. The format is
020 detected automatically.
021
022 >>> from obspy import read
023 >>> st = read("/path/to/test.grm")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.cybershake[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cybershake/__init__.py:23: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/cybershake/tests/test_core.py", line 37, in test_read_cybershake st2 = read(valid_file) ^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
019 Reading DMX is handled by using ObsPy's standard
020 :func:`~obspy.core.stream.read` function. The format can be detected
021 automatically, however setting the ``format`` parameter as "DMX" lead to a
022 speed up.
023 One optional keyword argument is available: ``station``. It is automatically
024 passed to the :func:`obspy.io.dmx.core._read_dmx`. Its format
025
026 >>> from obspy import read
027 >>> # these two are equivalent, but the second case should be faster:
028 >>> st = read("/path/to/131114_090600.dmx")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.dmx[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/dmx/__init__.py:28: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/dmx/tests/test_core.py", line 23, in test_read_via_obspy st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/dmx/tests/test_core.py", line 59, in test_read_with_station st = read(filename, station='EMPL') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/dmx/tests/test_core.py", line 73, in test_check_data_content_sum st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/focmec/tests/test_core.py", line 151, in test_read_focmec_out_through_plugin cat = read_events(self.out_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/focmec/tests/test_core.py", line 155, in test_read_focmec_lst_through_plugin cat = read_events(self.lst_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/focmec/tests/test_core.py", line 169, in test_read_focmec_lst_other_flavors cat = read_events(testdata['focmec_qedUWne.lst']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
015 (https://www.gnu.org/copyleft/lesser.html)
016
017 Reading
018 -------
019
020 Similar to reading any other waveform data format using :mod:`obspy.core`
021 The format will be determined automatically.
022
023 >>> from obspy import read
024 >>> st = read("/path/to/20160603_1955n.gcf")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gcf[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gcf/__init__.py:24: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gcf/tests/test_core.py", line 32, in test_read_via_obspy st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gcf/tests/test_core.py", line 51, in test_read_head_via_obspy st = read(filename, headonly=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gcf/tests/test_core.py", line 104, in test_read_channel_prefix_via_obspy st = read(filename, headonly=True, channel_prefix="HN") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gcf/tests/test_core.py", line 121, in test_merge_gcf_stream st1 = read(filename, headonly=True, channel_prefix="HN") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gcf/tests/test_core.py", line 146, in test_sps_d st = read(filename, headonly=True, channel_prefix="HN") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gcf/tests/test_core.py", line 163, in test_read_no_merge st = read(filename, blockmerge=False, channel_prefix="HN") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
016 :license:
017 GNU Lesser General Public License, Version 3
018 (https://www.gnu.org/copyleft/lesser.html)
019
020 Reading waveform data
021 ---------------------
022 Similar to reading any other waveform data format using :mod:`obspy.core`:
023
024 >>> from obspy import read
025 >>> st = read("/path/to/loc_RJOB20050831023349.z")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gse2[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/__init__.py:25: UnexpectedException
1118 ... 'az': slice(40, 46),
1119 ... 'antype': slice(105, 106),
1120 ... 'loctype': slice(107, 108),
1121 ... 'evtype': slice(109, 111),
1122 ... },
1123 ... 'arrival': {
1124 ... 'amp': slice(94, 104),
1125 ... },
1126 ... }
1127 >>> catalog = read_events('/path/to/bulletin/gse_2.0_non_standard.txt',
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gse2.bulletin._read_gse2[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/bulletin.py:1127: UnexpectedException
142 :type verify_chksum: bool, optional
143 :param verify_chksum: If True verify Checksum and raise Exception if
144 it is not correct.
145 :rtype: :class:`~obspy.core.stream.Stream`
146 :returns: Stream object containing header and data.
147
148 .. rubric:: Example
149
150 >>> from obspy import read
151 >>> st = read("/path/to/y2000.gse")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gse2.core._read_gse1[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/core.py:151: UnexpectedException
044 :type verify_chksum: bool, optional
045 :param verify_chksum: If True verify Checksum and raise Exception if
046 it is not correct.
047 :rtype: :class:`~obspy.core.stream.Stream`
048 :returns: Stream object containing header and data.
049
050 .. rubric:: Example
051
052 >>> from obspy import read
053 >>> st = read("/path/to/loc_RJOB20050831023349.z")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gse2.core._read_gse2[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/core.py:53: UnexpectedException
083 :param filename: Name of file to write.
084 :type inplace: bool, optional
085 :param inplace: If True, do compression not on a copy of the data but
086 on the data itself - note this will change the data values and make
087 them therefore unusable!
088
089 .. rubric:: Example
090
091 >>> from obspy import read
092 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gse2.core._write_gse2[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/core.py:92: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_bulletin.py", line 605, in test_inventory inventory = read_inventory(inventory_filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_bulletin.py", line 645, in test_inventory_with_multiple_channels inventory = read_inventory(inventory_filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_bulletin.py", line 724, in test_read_events catalog = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 28, in test_read_via_obspy st = read(gse2file, verify_checksum=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 49, in test_read_head_via_obspy st = read(gse2file, headonly=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 67, in test_read_and_write_via_obspy st1 = read(gse2file) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 113, in test_read_and_write_streams_via_obspy st1 = read(tf.name) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 159, in test_write_integers_via_obspy stream = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 174, in test_tab_complete_stats tr = read(gse2file)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 200, in test_read_with_wrong_checksum read(gse2file, verify_chksum=False) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 212, in test_read_with_wrong_parameters read(gse2file, verify_chksum=False, starttime=None) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 221, in test_read_gse1_via_obspy st = read(gse1file, verify_checksum=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 238, in test_read_gse1_head_via_obspy st = read(gse1file, headonly=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 257, in test_read_intv_gse1_via_obspy read(gse1file, verify_chksum=True) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 295, in test_read_dos st = read(filedos, verify_chksum=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 307, in test_read_apply_calib st = read(gse2file, apply_calib=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 327, in test_write_and_read_correct_network tr = read(tmpfile)[0] ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/gse2/tests/test_core.py", line 337, in test_read_gse2_int_datatype st = read(gse2file, verify_checksum=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
013
014
015 Usage Example
016 -------------
017
018 The PHA reader hooks into the standard ObsPy event handling
019 mechanisms including format autodetection.
020
021 >>> from obspy import read_events
022 >>> cat = read_events('/path/to/example.pha')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.hypodd[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/hypodd/__init__.py:22: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/hypodd/tests/test_pha.py", line 28, in test_read_pha cat = read_events(self.fname) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/hypodd/tests/test_pha.py", line 65, in test_60s_nan cat = read_events(self.fname2) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/hypodd/tests/test_pha.py", line 79, in test_populate_waveform_id cat = read_events(self.fname, inventory=inv) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/hypodd/tests/test_pha.py", line 97, in test_eventid_map cat = read_events(self.fname) + read_events(self.fname2) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/hypodd/tests/test_pha.py", line 124, in test_write_pha cat = read_events(self.fname) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/hypodd/tests/test_pha.py", line 146, in test_write_pha_minimal cat2 = read_events(tempfile) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
007 Default : a class to create a "default" function accepted by the
008 python :py:mod:`json` module Encoder classes, valid for
009 :class:`~obspy.core.event.event.Event` objects.
010
011 Example
012 -------
013 >>> import json
014 >>> from obspy import read_events
015 >>> from obspy.io.json.default import Default
016 >>> c = read_events()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.json.default[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/json/default.py:16: UnexpectedException
015 :license:
016 GNU Lesser General Public License, Version 3
017 (https://www.gnu.org/copyleft/lesser.html)
018
019 Reading
020 -------
021 Similar to reading any other waveform data format using obspy.core:
022
023 >>> from obspy import read
024 >>> st = read("/path/to/BI008_MEMA-04823.evt", apply_calib=False)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/kinemetrics/__init__.py:24: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/kinemetrics/tests/test_core.py", line 69, in test_read_via_obspy1 st = read(filename, apply_calib=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/kinemetrics/tests/test_core.py", line 95, in test_read_via_obspy2 st = read(filename, apply_calib=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/kinemetrics/tests/test_core.py", line 125, in test_read_via_obspy_and_bytesio1 st = read(buf, apply_calib=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/kinemetrics/tests/test_core.py", line 155, in test_read_via_obspy_and_bytesio2 st = read(buf, apply_calib=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
006 format.
007
008 Write support works via the ObsPy plugin structure for
009 :class:`~obspy.core.event.Catalog` and
010 :class:`~obspy.core.inventory.inventory.Inventory`:
011
012 >>> from obspy import read_inventory, read_events
013 >>> inv = read_inventory() # load example data
014 >>> inv.write("my_stations.kml", format="KML") # doctest: +SKIP
015 >>> cat = read_events() # load example data
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kml[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/kml/__init__.py:15: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/kml/tests/test_kml.py", line 33, in test_write_catalog cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
022
023 Reading
024 -------
025
026 Reading MiniSEED (and the data part of full SEED files) is handled by using
027 ObsPy's standard :func:`~obspy.core.stream.read` function. The format is
028 detected automatically.
029
030 >>> from obspy import read
031 >>> st = read("/path/to/test.mseed")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/__init__.py:31: UnexpectedException
368 :param use_bisection: If ``True``, use bisection to locate the start and
369 end times directly in the file, avoiding a full read. This can reduce
370 processing time by up to an order of magnitude when a time window is
371 specified, and is particularly important for large miniSEED files
372 (e.g., > 2 GB). Only applies to strictly ordered, single-channel files;
373 the code falls back to the default behavior otherwise.
374 .. rubric:: Example
375
376 >>> from obspy import read
377 >>> st = read("/path/to/two_channels.mseed")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/core.py:377: UnexpectedException
808 The ``stats.mseed.blkt1001.timing_quality`` value will also be written
809 if it is set.
810
811 The ``stats.mseed.blkt1001.timing_quality`` value will also be written
812 if it is set.
813
814 .. rubric:: Example
815
816 >>> from obspy import read
817 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._write_mseed[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/core.py:817: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 44, in test_read_head_file_via_obspy stream = read(gapfile, headonly=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 161, in test_downcast_int64_to_int32 st2 = read(buf) ^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 605, in test_read_ms_traces_via_records_multiple_ids st = read(file, starttime=starttime, endtime=endtime) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 728, in test_write_and_read_different_record_lengths temp_st = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 752, in test_read_with_wild_card st = read(files) ^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 775, in test_header stream = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 825, in test_reading_and_writing_via_the_stats_attribute stream2 = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 843, in test_read_parts_of_file tr1 = read(file, starttime=t[0], endtime=t[1])[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 858, in test_read_with_gse2_option tr = read(file, verify_chksum=True, starttime=None)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 872, in test_all_data_types_and_endians_in_multiple_files st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 923, in test_all_data_types_and_endians_in_single_file st2 = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 939, in test_enforce_steim2_with_steim1_as_encoding st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 987, in test_files_from_libmseed st = read(cur_file) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1018, in test_writing_microseconds st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1067, in test_reading_and_writing_dataquality stream = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1131, in test_bizarre_files st1 = read(datapath / "bizarre" / ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1176, in test_write_and_read_different_encodings st2 = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1197, in test_issue376 st = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1227, in test_read_timing_qual st = read(filename, details=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1255, in test_corrupt_file_length st = read(filename, reclen=512) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1268, in test_verbosity st = read(filename, verbose=2) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1282, in test_writing_with_some_encoding_fails tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1328, in test_reading_geoscope_16bit_4bit_exponent_format tr = read(testdata['GEOSCOPE16_4_encoding.mseed'])[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1343, in test_reading_sro_format tr = read(testdata['SRO_encoding.mseed']).select(component="Z")[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1354, in test_reading_dwwssn_format tr = read(testdata['DWWSSN_encoding.mseed'])[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1365, in test_reading_cdsn_format tr = read(testdata['CDSN_encoding.mseed'])[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1611, in test_libmseed_test_cases assert_valid(test_file, ref_file, test_type) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1445, in assert_valid st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1633, in test_per_trace_mseed_attributes st = read(buf) ^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1670, in test_read_mseed_sr0 st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1692, in test_reading_and_writing_zero_sampling_rate_traces tr2 = read(buf)[0] ^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 265, in test_write_wrong_encoding st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 282, in test_write_wrong_encoding_via_mseed_stats st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 300, in test_wrong_record_length_as_argument read(file, reclen=111) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 315, in test_read_with_missing_blockette010 tr = read(file)[0] ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 331, in test_issue160 tr_one = read(file)[0] ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 351, in test_issue217 tr = read(file)[0] ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 367, in test_issue296 st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 444, in test_issue289 st = read(file, starttime=UTCDateTime() - 10, endtime=UTCDateTime()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 481, in test_issue272 st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 495, in test_issue325 st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 533, in test_issue332 st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 551, in test_issue341 st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 574, in test_issue485 data = read(filename)[0].data.tolist() ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 594, in test_enforcing_reading_byteorder tr2 = read(memfile, header_byteorder="<")[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 651, in test_long_year_range st2 = read(memfile) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 666, in test_full_seed_with_non_default_dataquality st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 737, in test_microsecond_accuracy_reading_and_writing_before_1970 tr2 = read(fh)[0] ^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 750, in test_reading_noise_records st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 772, in test_read_file_with_various_noise_records st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 806, in test_mseed_zero_data_offset st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 846, in test_mseed_zero_data_headonly st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 887, in test_read_file_with_microsecond_wrap tr = read(file)[0] ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 914, in test_reading_miniseed_with_no_blockette_1000 st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 948, in test_writing_of_blockette_100 tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1030, in test_reading_file_with_data_offset_of_48 st = read(file) ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1201, in test_reading_files_with_non_ascii_headers st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
051 Furthermore the depth values will be converted to ``m`` and the source time
052 function duration will be doubled to adhere to the QuakeML standard. The
053 region name in the NDK file will be replaced with its full Flinn-Engdahl
054 region name using ObsPy's built-in region parser.
055
056 The :func:`~obspy.core.event.read_events` method is used to read NDK files to
057 :class:`~obspy.core.event.Catalog` objects.
058
059 >>> import obspy
060 >>> cat = obspy.read_events("/path/to/C200604092050A.ndk")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ndk[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/__init__.py:60: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 26, in test_read_single_ndk ref_cat = read_events(reference) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 85, in test_reading_using_obspy_plugin cat = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 100, in test_reading_from_string_io cat = read_events(file_object) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 116, in test_reading_from_bytes_io cat = read_events(file_object) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 130, in test_reading_from_open_file_in_text_mode cat = read_events(fh) ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 143, in test_reading_from_open_file_in_binary_mode cat = read_events(fh) ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 157, in test_reading_the_same_file_twice_does_not_raise_a_warnings cat_1 = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 202, in test_reading_file_with_multiple_errors cat = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 222, in test_reading_from_string ref_cat = read_events(reference) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 239, in test_reading_from_bytestring ref_cat = read_events(reference) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 262, in test_missing_lines cat = read_events(data) ^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 280, in test_reading_event_with_faulty_but_often_occurring_timestamp cat = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/ndk/tests/test_ndk.py", line 302, in test_raise_exception_if_no_events_in_file read_events(data) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
013 GNU Lesser General Public License, Version 3
014 (https://www.gnu.org/copyleft/lesser.html)
015
016 Example
017 -------
018
019 It works by utilizing ObsPy's :func:`~obspy.core.event.read_events` function.
020
021 >>> import obspy
022 >>> cat = obspy.read_events("/path/to/FNETMTCATALOG")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nied/__init__.py:22: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 26, in test_read_fnetmt_catalog_from_open_files read_events(fh) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 38, in test_read_fnetmt_catalog_from_bytes_io read_events(buf) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nied/tests/test_knet_reading.py", line 16, in test_read_knet_ascii tr = read(testfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nied/tests/test_knet_reading.py", line 30, in test_read_knet_ascii_from_open_files tr = read(testfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nied/tests/test_knet_reading.py", line 49, in test_read_knet_ascii_from_bytes_io tr = read(buf)[0] ^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nied/tests/test_knet_reading.py", line 65, in test_station_name_hack tr = read(testfile, convert_stnm=True)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
014 (https://www.gnu.org/copyleft/lesser.html)
015
016 Example
017 -------
018 If NonLinLoc location run was performed using one of the standard projections
019 available in the NonLinLoc package, it is straightforward to read a NonLinLoc
020 Hypocenter-Phase file into an ObsPy :class:`~obspy.core.event.Catalog` object:
021
022 >>> from obspy import read_events
023 >>> cat = read_events("/path/to/nlloc.hyp")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nlloc[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nlloc/__init__.py:23: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nlloc/tests/test_core.py", line 117, in test_read_nlloc_hyp_with_builtin_projection cat_expected = read_events(testdata["nlloc.qml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nlloc/tests/test_core.py", line 222, in test_read_nlloc_hyp_via_plugin cat = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nlloc/tests/test_core.py", line 274, in test_read_nlloc_with_picks picks = read_events(testdata["nlloc_custom.qml"])[0].picks ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 165, in test_write_read_quakeml cat_back = read_events(tf.name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 262, in test_blanksfile st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 378, in test_reading_string_io cat = read_events(file_object) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 393, in test_reading_bytes_io cat = read_events(file_object) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 520, in test_read_latin1 cat = read_events(dos_file) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 539, in test_write_select cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 554, in test_write_select_new cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 569, in test_write_plugin cat = read_events() ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 598, in test_more_than_three_mags cat_back = read_events(tf.name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 708, in test_distance_conversion cat = read_events(testing_path) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 728, in test_large_negative_longitude event_back = read_events(tf.name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 746, in test_write_preferred_origin event_back = read_events(tf.name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 760, in test_read_high_precision_pick cat = read_events( ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 779, in test_high_precision_read_write cat = read_events(testdata['sfile_high_precision_picks']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 824, in test_long_phase_name cat = read_events(testdata['sfile_long_phase']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 856, in test_read_write_over_day event_back = read_events(tf.name)[0] ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 865, in test_seconds_overflow cat = read_events(testdata['sfile_seconds_overflow']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 892, in test_read_bad_covariance cat = read_events(testdata['sfile_bad_covariance']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 901, in test_read_high_accuracy cat = read_events(testdata['sfile_highaccuracy']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1134, in test_read_uncert_ellipse cat = read_events(testdata['sfile_highaccuracy']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
048
049 :type filename: str
050 :param filename: PDAS file to be read.
051 :rtype: :class:`~obspy.core.stream.Stream`
052 :return: An ObsPy Stream object.
053
054 .. rubric:: Example
055
056 >>> from obspy import read
057 >>> st = read("/path/to/p1246001.108")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.pdas.core._read_pdas[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/pdas/core.py:57: UnexpectedException
1071
1072 :type filename: str or :class:`~pathlib.Path`
1073 :param filename: mchedr file to be read.
1074 :rtype: :class:`~obspy.core.event.Catalog`
1075 :return: An ObsPy Catalog object.
1076
1077 .. rubric:: Example
1078
1079 >>> from obspy.core.event import read_events
1080 >>> cat = read_events('/path/to/mchedr.dat')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.pde.mchedr._read_mchedr[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/pde/mchedr.py:1080: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/pde/tests/test_mchedr.py", line 307, in test_read_events catalog = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
1818
1819 :type filename: str
1820 :param filename: QuakeML file to be read.
1821 :rtype: :class:`~obspy.core.event.Catalog`
1822 :return: An ObsPy Catalog object.
1823
1824 .. rubric:: Example
1825
1826 >>> from obspy.core.event import read_events
1827 >>> cat = read_events('/path/to/iris_events.xml')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.quakeml.core._read_quakeml[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/core.py:1827: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 562, in test_read_events catalog = read_events(testdata['neries_events.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 646, in test_read_string catalog = read_events(data) ^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 730, in _generic_reader return callback_func(io.BytesIO(pathname_or_url), **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 661, in test_preferred_tags catalog = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 756, in test_read_equivalence cat1 = read_events(testdata['neries_events.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 990, in test_read_same_file_twice_to_same_variable cat1 = read_events(sio) # NOQA ^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 1060, in test_writing_invalid_quakeml_id cat = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 1083, in test_reading_invalid_enums cat = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/quakeml/tests/test_quakeml.py", line 1101, in test_issue_2339 cat1 = Catalog(events=[read_events()[0]]) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events return _create_example_catalog() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog return read_events('/path/to/neries_events.xml') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
044 .KW1..EH0 | 2015-10-09T22:51:11.675000Z - ... | 200.0 Hz, 2743 samples
045 .KW1..EH1 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3107 samples
046 .KW1..EH1 | 2015-10-09T22:51:05.925000Z - ... | 200.0 Hz, 768 samples
047 .KW1..EH1 | 2015-10-09T22:51:10.765000Z - ... | 200.0 Hz, 2925 samples
048 .KW1..EH2 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3405 samples
049 .KW1..EH2 | 2015-10-09T22:51:08.415000Z - ... | 200.0 Hz, 3395 samples
050
051 Network, location and component codes can be specified during reading:
052
053 >>> st = read("/path/to/225051000_00008656", network="BW", location="",
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.reftek[4]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/reftek/__init__.py:53: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/reftek/tests/test_core.py", line 203, in test_integration_with_obspy_core st_reftek = obspy.read( ^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/reftek/tests/test_core.py", line 508, in test_reading_packet_with_vpu_float_string st = obspy.read(self.reftek_file_vpu, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
044 Several key word arguments are available: ``headonly``, ``starttime``,
045 ``endtime``, ``merge``, ``contacts_north``, ``details``. They are passed to the
046 :func:`obspy.io.rg16.core._read_rg16` function so refer to it for details to
047 each parameter.
048
049 >>> import obspy
050 >>> from obspy.core.util import get_example_file
051 >>> filename = get_example_file('three_chans_six_traces.fcnt')
052 >>> # these are all equivalent:
053 >>> st = obspy.read(filename)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.rg16[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/rg16/__init__.py:53: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/rg16/tests/test_read_rg16.py", line 31, in test_reading_rg16_files st_1 = read(fcnt_file) ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
017 (LANL) and copyrighted for Los Alamos National Security, LLC under
018 LA-CC-15-051.
019
020 Reading
021 -------
022 Similar to reading any other waveform data format using
023 :func:`~obspy.core.stream.read()`:
024
025 >>> from obspy import read
026 >>> st = read('/path/to/test.sac', debug_headers=True)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/__init__.py:26: UnexpectedException
236 microseconds before calculating sampling rate to avoid floating point
237 accuracy issues with some SAC files (see #3408)
238 :type round_sampling_interval: bool
239 :rtype: :class:`~obspy.core.stream.Stream`
240 :return: A ObsPy Stream object.
241
242 .. rubric:: Example
243
244 >>> from obspy import read
245 >>> st = read("/path/to/testxy.sac")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._internal_read_sac_xy[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/core.py:245: UnexpectedException
343 microseconds before calculating sampling rate to avoid floating point
344 accuracy issues with some SAC files (see #3408)
345 :type round_sampling_interval: bool
346 :rtype: :class:`~obspy.core.stream.Stream`
347 :return: A ObsPy Stream object.
348
349 .. rubric:: Example
350
351 >>> from obspy import read
352 >>> st = read("/path/to/test.sac")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._read_sac[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/core.py:352: UnexpectedException
191 microseconds before calculating sampling rate to avoid floating point
192 accuracy issues with some SAC files (see #3408)
193 :type round_sampling_interval: bool
194 :rtype: :class:`~obspy.core.stream.Stream`
195 :return: A ObsPy Stream object.
196
197 .. rubric:: Example
198
199 >>> from obspy import read
200 >>> st = read("/path/to/testxy.sac")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._read_sac_xy[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/core.py:200: UnexpectedException
439 :type filename: str, open file, or file-like object
440 :param byteorder: Must be either ``0`` or ``'<'`` for LSBF or
441 little-endian, ``1`` or ``'>'`` for MSBF or big-endian.
442 Defaults to little endian.
443 :type byteorder: int or str
444
445 .. rubric:: Example
446
447 >>> from obspy import read
448 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._write_sac[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/core.py:448: UnexpectedException
267 file-like object is passed, this function only supports writing
268 Stream objects containing a single Trace. This is a limitation of
269 the SAC file format. An exception will be raised in case it's
270 necessary.
271 :type filename: str, open file, or file-like object
272
273 .. rubric:: Example
274
275 >>> from obspy import read
276 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._write_sac_xy[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/core.py:276: UnexpectedException
260 * IA (12): First arrival time
261 * ITn (13-22): User defined time pick n, n=0,9
262
263 Convert to/from ObsPy Traces
264 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265
266 .. rubric:: Example
267
268 >>> from obspy import read
269 >>> tr = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.sactrace[17]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/sactrace.py:269: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 63, in test_read_write_via_obspy tr1 = read(tempfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 81, in test_read_xy_write_xy_via_obspy tr1 = read(tempfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 96, in test_read_write_xy_via_obspy tr1 = read(tempfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 170, in test_write_via_obspy tr = read(tempfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 190, in test_read_and_write_via_obspy tr = read(self.file)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 249, in test_iztype11 tr = read(sod_file)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 266, in test_default_values tr = read(self.file)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 278, in test_reference_time tr = read(self.fileseis)[0] ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 305, in test_undefined_b tr = read(self.file)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 336, in test_issue_156 st = read(sac_file) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 360, in test_write_sac_xy_with_minimum_stats st = read(sac_file) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 368, in test_not_used_but_given_headers tr1 = read(self.file)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 407, in test_null_terminated_strings tr = read(null_file)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 432, in test_issue390 tr = read(self.file, headonly=True, debug_headers=True)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 469, in test_read_with_fsize read(longer_file) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 569, in test_writing_to_obj_with_multiple_traces_fails st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 578, in test_writing_to_io_string_io_fails st = read()[:1] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 594, in test_read_via_obspy_from_bytes_io tr = read(buf)[0] ^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 605, in test_write_via_obspy_to_bytes_io tr = read(self.file)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 744, in test_writing_to_file_like_objects_with_obspy st = read()[:1] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 788, in test_valid_sac_from_minimal_existing_sac_header tr1 = read(tempfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 823, in test_merge_sac_obspy_headers tr1 = read(tempfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 838, in test_decimate_resample tr1 = read(tempfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 897, in test_sac_file_from_new_header tr1 = read(tf)[0] ^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 920, in test_always_sac_reftime tr1 = read(tf)[0] ^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 929, in test_wrong_encoding tr0 = read(self.file_encode)[0] ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 936, in test_encoding_flag tr0 = read(self.file_encode, encoding='cp1252')[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_sacpz.py", line 47, in test_write_sacpz_single_channel inv = read_inventory(path) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_sacpz.py", line 65, in test_write_sacpz_multiple_channels inv = read_inventory(path) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_sacpz.py", line 82, in test_write_sacpz_soh inv = read_inventory(path) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_sacpz.py", line 100, in test_write_sacpz_no_sensor inv = read_inventory("/path/to/IU_ANMO_00_BHZ.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_sacpz.py", line 100, in test_write_sacpz_no_sensor inv = read_inventory("/path/to/IU_ANMO_00_BHZ.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_sactrace.py", line 219, in test_propagate_modified_stats_strings_to_sactrace tr = read(self.fileseis)[0] ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
013 GNU Lesser General Public License, Version 3
014 (https://www.gnu.org/copyleft/lesser.html)
015
016 Example
017 -------
018
019 It works by utilizing ObsPy's :func:`~obspy.core.event.read_events` function.
020
021 >>> import obspy
022 >>> cat = obspy.read_events("/path/to/test.scardec")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.scardec[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/scardec/__init__.py:22: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/scardec/tests/test_core.py", line 33, in test_read_and_write_scardec_from_files cat = obspy.read_events(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/scardec/tests/test_core.py", line 83, in test_read_and_write_scardec_from_open_files cat = obspy.read_events(fh) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/scardec/tests/test_core.py", line 129, in test_read_and_write_scardec_from_bytes_io cat = obspy.read_events(buf) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seg2/tests/test_seg2.py", line 91, in test_read_data_format_2 st = read(basename + ".seg2.gz") ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seg2/tests/test_seg2.py", line 114, in test_read_data_format_3 st = read(basename + ".seg2") ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
156 enhance performance and especially memory usage with large files. The
157 header values can still be accessed and will be calculated on the fly
158 but tab completion will no longer work. Look in the headers.py for a
159 list of all possible trace header values. Defaults to ``False``.
160 :returns: A ObsPy :class:`~obspy.core.stream.Stream` object.
161
162 .. rubric:: Example
163
164 >>> from obspy import read
165 >>> st = read("/path/to/00001034.sgy_first_trace")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.segy.core._read_segy[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/core.py:165: UnexpectedException
446 enhance performance and especially memory usage with large files. The
447 header values can still be accessed and will be calculated on the fly
448 but tab completion will no longer work. Look in the headers.py for a
449 list of all possible trace header values. Defaults to ``False``.
450 :returns: A ObsPy :class:`~obspy.core.stream.Stream` object.
451
452 .. rubric:: Example
453
454 >>> from obspy import read
455 >>> st = read("/path/to/1.su_first_trace")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.segy.core._read_su[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/core.py:455: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_core.py", line 441, in test_writing_su_file_with_no_header st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_core.py", line 597, in test_comparing_still_packed_trace_headers header_a = read(file)[0].stats.segy.trace_header ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_core.py", line 640, in test_writing_text_and_binary_textual_file_headers st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_segy.py", line 576, in test_iterative_reading st = obspy.read(filename, unpack_trace_headers=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_segy.py", line 595, in test_revision_number_in_binary_file_header tr = obspy.read()[0] ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_segy.py", line 615, in test_textual_header_has_the_right_fields_at_the_end tr = obspy.read()[0] ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_segy.py", line 744, in test_packing_raises_nice_error_messages tr = obspy.read()[0] ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/segy/tests/test_su.py", line 124, in test_iterative_reading st = obspy.read(filename, unpack_trace_headers=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
014
015 Reading
016 -------
017 Importing SEISAN files is done similar to reading any other waveform data
018 format within ObsPy by using the :func:`~obspy.core.stream.read()` method of
019 the :mod:`obspy.core` module. Example seismogram files may be found at
020 https://examples.obspy.org.
021
022 >>> from obspy import read
023 >>> st = read("/path/to/2001-01-13-1742-24S.KONO__004")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seisan/__init__.py:23: UnexpectedException
114
115 :type filename: str
116 :param filename: SEISAN file to be read.
117 :rtype: :class:`~obspy.core.stream.Stream`
118 :return: A ObsPy Stream object.
119
120 .. rubric:: Example
121
122 >>> from obspy import read
123 >>> st = read("/path/to/2001-01-13-1742-24S.KONO__004")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.core._read_seisan[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seisan/core.py:123: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seisan/tests/test_core.py", line 202, in test_read_obspy st1 = read(testdata['2011-09-06-1311-36S.A1032_001BH_Z']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
064 restriction, this ID prefix allows to convert the IDs to a well
065 formatted QuakeML ID. You can modify the default ID prefix with the
066 reverse DNS name of your institute.
067 :rtype: :class:`~obspy.core.event.Catalog`
068 :return: An ObsPy Catalog object.
069
070 .. rubric:: Example
071
072 >>> from obspy import read_events
073 >>> cat = read_events('/path/to/iris_events.sc3ml')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seiscomp.event._read_scml[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/event.py:73: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_event.py", line 200, in test_scml_versions read_events(filename) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_event.py", line 311, in test_read_string catalog = read_events(data) ^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 730, in _generic_reader return callback_func(io.BytesIO(pathname_or_url), **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_event.py", line 476, in test_read_and_write catalog = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_event.py", line 488, in test_read_and_write_scml_fields catalog = read_events(filename) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 51, in test_scml_versions read_inventory(filename) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 59, in test_channel_level inv = read_inventory(testdata["channel_level.sc3ml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 117, in test_empty_depth read_inventory(testdata["sc3ml_empty_depth_and_id.sc3ml"]) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 271, in test_stage_empty_poles_and_zeros scml_inv = read_inventory(scml_mbar_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
014
015 Reading
016 -------
017 Importing Q or ASC files is done similar to reading any other waveform data
018 format within ObsPy by using the :func:`~obspy.core.stream.read()` method of
019 the :mod:`obspy.core` module. Examples seismograms files may be found at
020 https://examples.obspy.org.
021
022 >>> from obspy import read
023 >>> st = read("/path/to/QFILE-TEST-ASC.ASC")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/__init__.py:23: UnexpectedException
113 :type length: int, optional
114 :param length: If ``skip`` is used, ``length`` defines the number of values
115 to be read.
116 :rtype: :class:`~obspy.core.stream.Stream`
117 :return: A ObsPy Stream object.
118
119 .. rubric:: Example
120
121 >>> from obspy import read
122 >>> st = read("/path/to/QFILE-TEST-ASC.ASC")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_asc[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/core.py:122: UnexpectedException
357 ObsPy assumes that the corresponding data file is within the same directory
358 if the ``data_directory`` parameter is not set. Otherwise it will search
359 in the given ``data_directory`` for a file with the `QBN` file extension.
360 This function should NOT be called directly, it registers via the
361 ObsPy :func:`~obspy.core.stream.read` function, call this instead.
362
363 .. rubric:: Example
364
365 >>> from obspy import read
366 >>> st = read("/path/to/QFILE-TEST.QHD")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_q[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/core.py:366: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_core.py", line 142, in test_read_and_write_multi_channel_asc_file_via_obspy stream2 = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_core.py", line 198, in test_read_and_write_multi_channel_q_file_via_obspy stream2 = read(tempfile) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_core.py", line 262, in test_write_long_header tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_core.py", line 277, in test_header_whitespaces tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_core.py", line 292, in test_append_traces stream = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_evt.py", line 12, in test_local_event1 cat = read_events(fname) ^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_evt.py", line 17, in test_local_event2 cat = read_events(fname) ^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_evt.py", line 34, in test_tele_event1 cat = read_events(fname) ^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_evt.py", line 40, in test_tele_event2 cat = read_events(fname) ^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sh/tests/test_evt.py", line 84, in test_populate_waveform_id cat = read_events(fname, inventory=inv, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
005 This module provides write support for the ESRI shapefile format.
006
007 Write support works via the ObsPy plugin structure for
008 :class:`~obspy.core.event.Catalog` and
009 :class:`~obspy.core.inventory.inventory.Inventory`:
010
011 >>> from obspy import read_inventory, read_events
012 >>> inv = read_inventory() # load example data
013 >>> inv.write("my_stations.shp", format="SHAPEFILE") # doctest: +SKIP
014 >>> cat = read_events() # load example data
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.shapefile[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 826, in read_events
return _create_example_catalog()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 847, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/shapefile/__init__.py:14: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/shapefile/tests/test_core.py", line 193, in test_write_catalog_shapefile cat = read_events('/path/to/mchedr.dat') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/shapefile/tests/test_core.py", line 230, in test_write_catalog_shapefile_with_extra_field cat = read_events('/path/to/mchedr.dat') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/shapefile/tests/test_core.py", line 339, in test_write_catalog_shapefile_via_plugin cat = read_events('/path/to/mchedr.dat') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
015
016
017 Example
018 -------
019
020 Don't use this module directly but utilize it through the
021 :func:`~obspy.core.inventory.inventory.read_inventory` function.
022
023 >>> import obspy
024 >>> inv = obspy.read_inventory("/path/to/channel_level_fdsn.txt")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.stationtxt[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/__init__.py:24: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 109, in test_reading_network_file inv_obs = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 194, in test_reading_station_file inv_obs = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 397, in test_reading_channel_file inv_obs = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 467, in test_reading_unicode_file inv_obs = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 557, in test_reading_channel_without_response_info inv_obs = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 619, in test_parsing_faulty_header_at_channel_level inv_obs_good = obspy.read_inventory(good_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 648, in test_parsing_files_with_no_endtime inv_obs_a = obspy.read_inventory(file_a) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationtxt/tests/test_station_text_parsing.py", line 846, in test_read_write_stationtxt inv_obs = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 94, in test_different_write_levels inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 139, in test_read_and_write_minimal_file inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 168, in test_subsecond_read_and_write_minimal_file inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 191, in test_read_and_write_full_file inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 319, in test_reading_other_module_tags inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 329, in test_reading_and_writing_full_root_tag inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 357, in test_reading_and_writing_full_network_tag inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 437, in test_reading_and_writing_full_station_tag inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 647, in test_reading_and_writing_channel_with_response inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 735, in test_parse_file_with_no_default_namespace inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 748, in test_parse_file_with_schema_2 inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 797, in test_write_with_extra_tags_namespace_redef inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 922, in test_write_with_extra_tags_and_read inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 1091, in test_reading_file_with_empty_channel_object inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 1104, in test_reading_channel_without_coordinates inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 1142, in test_units_during_identity_stage inv_2 = obspy.read_inventory(buf) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 734, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
013
014 Reading
015 -------
016 Importing WAV files is done similar to reading any other waveform data
017 format within ObsPy by using the :func:`~obspy.core.stream.read()` method of
018 the :mod:`obspy.core` module. Examples seismograms files may be found at
019 https://examples.obspy.org.
020
021 >>> from obspy import read
022 >>> st = read("/path/to/3cssan.near.8.1.RNON.wav")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/wav/__init__.py:22: UnexpectedException
075
076 :type filename: str
077 :param filename: Audio WAV file to be read.
078 :rtype: :class:`~obspy.core.stream.Stream`
079 :return: A ObsPy Stream object.
080
081 .. rubric:: Example
082
083 >>> from obspy import read
084 >>> st = read("/path/to/3cssan.near.8.1.RNON.wav")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav.core._read_wav[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/wav/core.py:84: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/wav/tests/test_core.py", line 30, in test_read_via_obspy tr = read(self.file)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/wav/tests/test_core.py", line 43, in test_read_head_via_obspy tr = read(self.file, headonly=True)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/wav/tests/test_core.py", line 67, in test_read_and_write_via_obspy tr3 = read(testfile)[0] ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/wav/tests/test_core.py", line 112, in test_write_stream_via_obspy tr30 = read(testfile0)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/win/tests/test_core.py", line 21, in test_read_via_obspy st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/win/tests/test_core.py", line 89, in test_read_24bit_data st = read(filename) ^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 147, in test_read_resp_metadata inv = obspy.read_inventory(filename_a) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 292, in test_read_seed_metainformation inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 404, in test_response_calculation_from_resp_files r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 438, in test_response_calculation_from_seed_and_xseed inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 515, in test_warning_when_blockette_54_is_not_followed_by_57 obspy.read_inventory(filename, skip_invalid_responses=False) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 548, in test_warning_when_blockette_57_is_not_followed_by_58 obspy.read_inventory(filename, skip_invalid_responses=False) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 567, in test_warning_with_multiple_blockettes_58_in_stage_0 obspy.read_inventory(filename) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 566, in test_warning_with_multiple_blockettes_58_in_stage_0 with CatchAndAssertWarnings(expected=[(Warning, msg)]): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 911, in __exit__ self._assert_warnings() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 946, in _assert_warnings raise AssertionError(msg % (category.__name__, regex)) AssertionError: Expected warning not raised: (Warning, Epoch BN.WR0..SHZ \[1996-03-01T00:00:00.000000Z - 1999-01-03T00:00:00.000000Z\]: Channel has multiple \(but identical\) blockettes 58 for stage 0. Only one will be used.)
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 579, in test_warning_with_multiple_differing_blockettes_58_in_stage_0 obspy.read_inventory(filename) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 578, in test_warning_with_multiple_differing_blockettes_58_in_stage_0 with CatchAndAssertWarnings(expected=[(Warning, msg)]): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 911, in __exit__ self._assert_warnings() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 946, in _assert_warnings raise AssertionError(msg % (category.__name__, regex)) AssertionError: Expected warning not raised: (Warning, Epoch BN.WR0..SHZ \[1996-03-01T00:00:00.000000Z - 1999-01-03T00:00:00.000000Z\]: Channel has multiple different blockettes 58 for stage 0. The last one will be chosen - this is a faulty file - try to fix it!)
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 589, in test_blkts_53_and_54_in_one_stage obspy.read_inventory(filename, skip_invalid_responses=False) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 611, in test_reconstructing_stage_0_from_other_blockettes inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 628, in test_parsing_blockette_62 inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 653, in test_parsing_blockette_62_as_stage_0 inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 670, in test_warning_with_no_blockettes_58 obspy.read_inventory(filename) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 669, in test_warning_with_no_blockettes_58 with CatchAndAssertWarnings(expected=[(Warning, msg)]): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 911, in __exit__ self._assert_warnings() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 946, in _assert_warnings raise AssertionError(msg % (category.__name__, regex)) AssertionError: Expected warning not raised: (Warning, Epoch BN.WR0..SHZ \[1996-03-01T00:00:00.000000Z - 1999-01-03T00:00:00.000000Z\]: Channel has multiple \(but identical\) blockettes 58 for stage 0. Only one will be used.)
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 680, in test_paz_with_no_actual_values r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 696, in test_response_of_strain_meter r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 717, in test_response_multiple_gain_blockettes r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 736, in test_response_regression_1 r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 758, in test_response_regression_2 r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 781, in test_response_regression_segfault r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_core.py", line 799, in test_response_lots_zero_frequency_gains r = obspy.read_inventory(filename)[0][0][0].response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_parser.py", line 789, in test_rotation_to_zne st = read(testdata["II_COCO_three_channel_borehole.mseed"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_parser.py", line 858, in test_parsing_resp_file_without_clear_blkt_separation obs_r = obspy.read_inventory(filename)[0][0][0].response\ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/xseed/tests/test_parser.py", line 868, in test_parsing_resp_file_with_mutiple_blockette55 inv_xml = obspy.read_inventory(testdata['issue3275.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
140 :type headonly: bool, optional
141 :param headonly: If set to True, read only the head. This is most useful
142 for scanning available data in huge (temporary) data sets.
143 :rtype: :class:`~obspy.core.stream.Stream`
144 :return: A ObsPy Stream object.
145
146 .. rubric:: Example
147
148 >>> from obspy import read
149 >>> st = read("/path/to/YAYT_BHZ_20021223.124800")
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.y.core._read_y[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/y/core.py:149: UnexpectedException
013
014
015 Usage Example
016 -------------
017
018 The ZMAP reader and writer hooks into the standard ObsPy event handling
019 mechanisms including format autodetection.
020
021 >>> from obspy.core.event import read_events
022 >>> cat = read_events('/path/to/zmap_events.txt')
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.zmap[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/__init__.py:22: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 165, in pytest_runtest_setup item.session._setupstate.setup(item) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 523, in setup col.setup() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1723, in setup self._request._fillfixtures() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 707, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 539, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 627, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110, in execute result: FixtureValue = ihook.pytest_fixture_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 915, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/zmap/tests/test_zmap.py", line 33, in setup self.catalog = read_events(path_to_catalog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
058 RtTrace object (step 3) which will automatically process any appended data
059 chunks.
060
061 1. Read first trace of example SAC data file and extract contained time
062 offset and epicentral distance of an earthquake::
063
064 >>> from obspy.realtime import RtTrace
065 >>> from obspy import read
066 >>> from obspy.realtime.signal import calculate_mwp_mag
067 >>> data_trace = read(
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.realtime.rttrace.RtTrace[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/realtime/rttrace.py:67: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/realtime/tests/test_rttrace.py", line 181, in test_append_not_float32 tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/scripts/tests/test_print.py", line 18, in test_print obspy_print(all_files) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/scripts/print.py", line 31, in main st += read(f, format=args.format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/scripts/tests/test_print.py", line 27, in test_print_nomerge obspy_print(['--no-merge'] + all_files) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/scripts/print.py", line 31, in main st += read(f, format=args.format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
031 :class:`numpy.ndarray`) and therefore the ``sampling_rate`` needs to be
032 also specified. It returns the filtered data. For
033 :class:`~obspy.core.stream.Stream` and :class:`~obspy.core.trace.Trace`
034 objects simply use their respective filtering methods
035 :meth:`Stream.filter() <obspy.core.stream.Stream.filter>` and
036 :meth:`Trace.filter() <obspy.core.trace.Trace.filter>`.
037
038 >>> from obspy import read
039 >>> import obspy.signal
040 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py:40: UnexpectedException
123 bbbbbbbb
124
125 For odd ``len(a)-len(b)`` the cross-correlation function will
126 consist of only ``2*shift`` samples because a shift of 0
127 corresponds to the middle between two samples.
128
129 .. rubric:: Example
130
131 >>> from obspy import read
132 >>> a = read()[0][450:550]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.cross_correlation.correlate[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/cross_correlation.py:132: UnexpectedException
823
824 Use :func:`~obspy.signal.cross_correlation.correlation_detector`
825 for detecting events based on their similarity.
826 The returned stream of cross-correlations is suitable for
827 use with :func:`~obspy.signal.trigger.coincidence_trigger`, though.
828
829 .. rubric:: Example
830
831 >>> from obspy import read, UTCDateTime
832 >>> data = read().filter('highpass', freq=5)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.cross_correlation.correlate_stream_template[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/cross_correlation.py:832: UnexpectedException
223 .. note::
224 Calling the function with ``demean=True, normalize='full'`` (default)
225 returns the zero-normalized cross-correlation function.
226 Calling the function with ``demean=False, normalize='full'``
227 returns the normalized cross-correlation function.
228
229 .. rubric:: Example
230
231 >>> from obspy import read
232 >>> data = read()[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.cross_correlation.correlate_template[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/cross_correlation.py:232: UnexpectedException
1038 time, similarity, template_id,
1039 amplitude_ratio, magnitude (if template_magnitudes is provided),
1040 template_name (if template_names is provided),
1041 cross-correlation values, properties returned by find_peaks
1042 (if details are requested)
1043
1044 .. rubric:: Example
1045
1046 >>> from obspy import read, UTCDateTime
1047 >>> data = read().filter('highpass', freq=5)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.cross_correlation.correlation_detector[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/cross_correlation.py:1047: UnexpectedException
638 - computes cross correlation on each component (one stream serves as
639 template, one as a longer search stream)
640 - stack all three and determine best shift in stack
641 - normalization is a bit problematic so compute the correlation coefficient
642 afterwards for the best shift to make sure the result is between 0 and 1.
643
644 >>> from obspy import read, UTCDateTime
645 >>> import numpy as np
646 >>> np.random.seed(123) # make test reproducible
647 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.cross_correlation.templates_max_similarity[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/cross_correlation.py:647: UnexpectedException
076
077
078 .. rubric:: Example
079
080 >>> import obspy
081 >>> from obspy.signal.detrend import polynomial
082
083 Prepare some example data.
084
085 >>> tr = obspy.read()[0].filter("highpass", freq=2)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.detrend.polynomial[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/detrend.py:85: UnexpectedException
139
140
141 .. rubric:: Example
142
143 >>> import obspy
144 >>> from obspy.signal.detrend import spline
145
146 Prepare some example data.
147
148 >>> tr = obspy.read()[0].filter("highpass", freq=2)
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.detrend.spline[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/detrend.py:148: UnexpectedException
207
208 Calculations are based on the routine used by [McNamara2004]_.
209 For information on New High/Low Noise Model see [Peterson1993]_.
210
211 .. rubric:: Basic Usage
212
213 >>> from obspy import read
214 >>> from obspy.signal import PPSD
215
216 >>> st = read()
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.spectral_estimation.PPSD[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read
st = _create_example_stream(headonly=headonly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream
inv = read_inventory(data_dir / "BW_RJOB.xml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py:216: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_calibration.py", line 24, in test_relcal_sts2_vs_unknown st1 = read(testdata['ref_STS2']) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_calibration.py", line 69, in test_relcal_using_traces st1 = read(testdata['ref_STS2']) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_calibration.py", line 88, in test_relcal_different_overlaps st1 = read(testdata['ref_STS2']) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_calibration.py", line 115, in test_relcal_using_dict st1 = read(testdata['ref_STS2']) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 37, in test_correlate_normalize_true_false a = read()[0].data[500:] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 187, in test_xcorr_3c st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 200, in test_xcorr_pick_correction st1 = read(testdata['BW.UH1._.EHZ.D.2010.147.a.slist.gz']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 229, in test_xcorr_pick_correction_images st1 = read(testdata['BW.UH1._.EHZ.D.2010.147.a.slist.gz']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 269, in test_correlate_template_eqcorrscan data = read()[0].data ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 294, in test_correlate_template_eqcorrscan_time data = read()[0].data ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 304, in test_correlate_template_different_normalizations data = read()[0].data ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 320, in test_correlate_template_correct_alignment_of_normalization data = read()[0].data ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 332, in test_correlate_template_versus_correlate data = read()[0].data ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 341, in test_correlate_template_zeros_in_input data = read()[0].data[380:420] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 410, in test_correlate_template_nodemean_fastmatchedfilter data = read()[0].data ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cross_correlation.py", line 441, in test_correlate_stream_template_and_correlation_detector template = read().filter('highpass', freq=5).normalize() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_detrend.py", line 56, in test_polynomial_detrend_plotting tr = obspy.read()[0].filter("highpass", freq=2) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_detrend.py", line 65, in test_spline_detrend_plotting tr = obspy.read()[0].filter("highpass", freq=2) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_filter.py", line 234, in test_bandpass_high_corner_at_nyquist tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_filter.py", line 275, in test_filterarr2d_axis_and_zerophase stream = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_invsim.py", line 277, in test_evalresp_vs_obspy tr = read(rawf)[0] ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_invsim.py", line 305, in test_cosine_taper tr = read(sac_taper)[0] ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_invsim.py", line 406, in test_evalresp_file_like_object tr1 = read(rawf)[0] ^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 254, in test_ppsd_w_iris st = read(file_data_anmo) ^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 319, in test_ppsd_w_iris_against_obspy_results st = read(testdata['IUANMO.seed']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 509, in test_ppsd_infrasound st = read(wf) ^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 691, in test_wrong_trace_id_message inv = read_inventory(testdata['IUANMO.xml']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 790, in test_ppsd_uneven_sampling_rate tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_stream.py", line 137, in test_simulate st1 = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_stream.py", line 176, in test_decimate st = read() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_trace.py", line 22, in test_simulate tr = read()[0] ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 301, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_trigger.py", line 235, in test_trigger_onset_issue_2891 tr = read(testdata['BW.UH1._.EHZ.D.2010.147.a.slist.gz'])[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_trigger.py", line 249, in test_coincidence_trigger st += read(testdata[filename]) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_trigger.py", line 474, in test_coincidence_trigger_with_similarity_checking st += read(testdata[filename]) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 764, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 201, in uncompress_file stream = func(tempfile.name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin if format.upper() == 'SC3ML': ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'upper'
1429 make demeaning/tapering necessary to avoid artifacts)
1430
1431 :return: If show is False, returns a matplotlib.pyplot.figure object
1432 (single component data) or a list of figure objects (multi component
1433 data)
1434
1435 .. rubric:: Example
1436
1437 >>> from obspy import read
1438 >>> tr = read("https://examples.obspy.org/a02i.2008.240.mseed")[0]
UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'upper'")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.tf_misfit.plot_tfr[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 751, in _generic_reader
generic = callback_func(fh.name, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file
result = func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 255, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 461, in _read_from_plugin
if format.upper() == 'SC3ML':
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tf_misfit.py:1438: UnexpectedException
Skipped tests (20)
| Submodule | Test | Skip message |
|---|---|---|
| core | core/stream.py::obspy.core.stream._is_pickle | Skipped: all tests skipped by +SKIP option |
| core.util | core/util/misc.py::obspy.core.util.misc.CatchOutput | Skipped: all tests skipped by +SKIP option |
| core.util | core/util/misc.py::obspy.core.util.misc.SuppressOutput | Skipped: all tests skipped by +SKIP option |
| core.util | core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory | Skipped: all tests skipped by +SKIP option |
| geodetics | geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 | Skipped: Geographiclib installed, not using calc_vincenty_inverse |
| imaging | imaging/tests/test_mopad_script.py::TestMopad::test_script_plot | Skipped: Currently broken until further review. |
| io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_slist | Skipped: all tests skipped by +SKIP option |
| io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_tspair | Skipped: all tests skipped by +SKIP option |
| io.gcf | io/gcf/core.py::obspy.io.gcf.core._write_gcf | Skipped: all tests skipped by +SKIP option |
| io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor | Skipped: all tests skipped by +SKIP option |
| io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag | Skipped: all tests skipped by +SKIP option |
| io.pde | io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr | Skipped: all tests skipped by +SKIP option |
| io.quakeml | io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml | Skipped: all tests skipped by +SKIP option |
| io.seisan | io/seisan/core.py::obspy.io.seisan.core._is_seisan | Skipped: all tests skipped by +SKIP option |
| io.sh | io/sh/core.py::obspy.io.sh.core._is_asc | Skipped: all tests skipped by +SKIP option |
| io.sh | io/sh/core.py::obspy.io.sh.core._is_q | Skipped: all tests skipped by +SKIP option |
| io.wav | io/wav/core.py::obspy.io.wav.core._is_wav | Skipped: all tests skipped by +SKIP option |
| io.y | io/y/core.py::obspy.io.y.core._is_y | Skipped: all tests skipped by +SKIP option |
| signal | signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata | Skipped: all tests skipped by +SKIP option |
| signal | signal/tests/test_quality_control.py::TestQualityControl::test_schema_validation | Skipped: Test requires the jsonschema module |
Slowest tests (20)
Warnings (3)
| Stage | Filename | Category | Message |
|---|---|---|---|
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py:395 | UserWarning | Attempting to set identical low and high ylims makes transformation singular; automatically expanding. |
| collect | /Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/polarization.py:15 | DeprecationWarning | `scipy.odr` is deprecated as of version 1.17.0 and will be removed in SciPy 1.19.0. Please use `https://pypi.org/project/odrpack/` instead. |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.11/multiprocessing/resource_tracker.py:123 | UserWarning | resource_tracker: process died unexpectedly, relaunching. Some resources might leak. |