(x)
| 872 | self.assertFalse(found_warning) |
| 873 | |
| 874 | def random_func(x): |
| 875 | x = math_ops.add(x, 1) |
| 876 | random_ops.random_shuffle([x, math_ops.square(x)]) |
| 877 | return x |
| 878 | |
| 879 | with warnings.catch_warnings(record=True) as w: |
| 880 | _ = dataset_ops.Dataset.range(10).map(random_func) |