Skip to content

Commit c01b4b6

Browse files
tests/: update test_2608() to match latest mupdf master.
1 parent 88ed41f commit c01b4b6

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
The XRT summed image is shown in Figure 5. At the edge
2+
of the field-of-view, we detect a source spatially coincident with
3+
the Wolf 1561 star. As we consider this source unrelated to the
4+
FRB, we use the online Swift-XRT data products generator (Evans
5+
et al. 2007) (Evans et al. 2009) to derive upper limits in the 0.3-
6+
10 keV range on the count rate of 0.001885 counts.s−1. Using
7+
WebPIMMS9 (v4.11a) and assuming a weighted average 𝑁H = 5.12×
8+
1020 cm−2 from the direction of the source estimated from the
9+
NASA’s HEASARC 10 online tools (HI4PI Collaboration et al.
10+
2016) and a power law model with a photon index = 2, this upper
11+
limit translates to an energy flux of 6.6 × 10−14 erg cm−2 s−1 (8.3 ×
12+
10−14 erg cm−2 s−1 unabsorbed).

tests/test_font.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ def test_2608():
6868
f.write(text.encode('utf8'))
6969
path_expected = os.path.normpath(f'{__file__}/../../tests/resources/test_2608_expected')
7070
path_expected_1_26 = os.path.normpath(f'{__file__}/../../tests/resources/test_2608_expected_1.26')
71-
if pymupdf.mupdf_version_tuple >= (1, 27):
71+
path_expected_1_28 = os.path.normpath(f'{__file__}/../../tests/resources/test_2608_expected_1.28')
72+
if pymupdf.mupdf_version_tuple >= (1, 28):
73+
path_expected2 = path_expected_1_28
74+
elif pymupdf.mupdf_version_tuple >= (1, 27):
7275
path_expected2 = path_expected
7376
else:
7477
path_expected2 = path_expected_1_26

0 commit comments

Comments
 (0)